>From 1363b036b05e1a6d8cabd62bb4132c6157a8a8d5 Mon Sep 17 00:00:00 2001
From: Olivier Fourdan <ofour...@redhat.com>
Date: Wed, 3 Oct 2012 15:23:37 +0200
Subject: [PATCH 1/2] data: update the database entry with status LED

Adds a new field "StatusLEDs" in the feature group
to list the status LEDs present on the device in the
same order as they appear in the sysfs control entries.

For example, using "StatusLEDs=Ring2;Ring" means that
the 2nd ring mode switch buttons (ie listed as "Ring2")
would control the LED available at status_led0_select
(since it's in first position in the "StatusLEDs" list)
and the 1st ring mode switch buttons (ie listed as "Ring")
would control the LED available at status_led1_select
(since it's in second position in the "StatusLEDs" list).

More status LED not necessarily correlated with mode switch
button may be added in the future, as needs arise.

Signed-off-by: Olivier Fourdan <ofour...@redhat.com>
---
 data/cintiq-21ux2.tablet    |    1 +
 data/cintiq-24hd.tablet     |    1 +
 data/intuos4-12x19.tablet   |    1 +
 data/intuos4-4x6.tablet     |    1 +
 data/intuos4-6x9-wl.tablet  |    1 +
 data/intuos4-6x9.tablet     |    1 +
 data/intuos4-8x13.tablet    |    1 +
 data/intuos5-m.tablet       |    1 +
 data/intuos5-s.tablet       |    1 +
 data/intuos5-touch-l.tablet |    1 +
 data/intuos5-touch-m.tablet |    1 +
 data/intuos5-touch-s.tablet |    1 +
 12 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/data/cintiq-21ux2.tablet b/data/cintiq-21ux2.tablet
index 6a0b242..85f2686 100644
--- a/data/cintiq-21ux2.tablet
+++ b/data/cintiq-21ux2.tablet
@@ -56,6 +56,7 @@ Ring=false
 NumStrips=2
 Buttons=18
 BuiltIn=true
+StatusLEDs=Touchstrip2;Touchstrip
 
 [Buttons]
 Left=B;C;D;E;A;F;G;H;I
diff --git a/data/cintiq-24hd.tablet b/data/cintiq-24hd.tablet
index 004ef22..11d9830 100644
--- a/data/cintiq-24hd.tablet
+++ b/data/cintiq-24hd.tablet
@@ -57,6 +57,7 @@ Buttons=16
 Ring=true
 Ring2=true
 BuiltIn=true
+StatusLEDs=Ring2;Ring
 
 [Buttons]
 Left=A;B;C;D;E;F;G;H
diff --git a/data/intuos4-12x19.tablet b/data/intuos4-12x19.tablet
index 4f066b6..f3cc114 100644
--- a/data/intuos4-12x19.tablet
+++ b/data/intuos4-12x19.tablet
@@ -46,6 +46,7 @@ Stylus=true
 Ring=true
 Buttons=9
 BuiltIn=false
+StatusLEDs=Ring
 
 [Buttons]
 Left=A;B;C;D;E;F;G;H;I
diff --git a/data/intuos4-4x6.tablet b/data/intuos4-4x6.tablet
index 36e45d6..7aa7a44 100644
--- a/data/intuos4-4x6.tablet
+++ b/data/intuos4-4x6.tablet
@@ -47,6 +47,7 @@ Stylus=true
 Ring=true
 Buttons=7
 BuiltIn=false
+StatusLEDs=Ring
 
 [Buttons]
 Left=A;B;C;D;E;F;G
diff --git a/data/intuos4-6x9-wl.tablet b/data/intuos4-6x9-wl.tablet
index 90839de..a66aa12 100644
--- a/data/intuos4-6x9-wl.tablet
+++ b/data/intuos4-6x9-wl.tablet
@@ -46,6 +46,7 @@ Stylus=true
 Ring=true
 Buttons=9
 BuiltIn=false
+StatusLEDs=Ring
 
 [Buttons]
 Left=A;B;C;D;E;F;G;H;I
diff --git a/data/intuos4-6x9.tablet b/data/intuos4-6x9.tablet
index 0d20933..be6b9f2 100644
--- a/data/intuos4-6x9.tablet
+++ b/data/intuos4-6x9.tablet
@@ -46,6 +46,7 @@ Stylus=true
 Ring=true
 Buttons=9
 BuiltIn=false
+StatusLEDs=Ring
 
 [Buttons]
 Left=A;B;C;D;E;F;G;H;I
diff --git a/data/intuos4-8x13.tablet b/data/intuos4-8x13.tablet
index e46e9b4..52747c1 100644
--- a/data/intuos4-8x13.tablet
+++ b/data/intuos4-8x13.tablet
@@ -46,6 +46,7 @@ Stylus=true
 Ring=true
 Buttons=9
 BuiltIn=false
+StatusLEDs=Ring
 
 [Buttons]
 Left=A;B;C;D;E;F;G;H;I
diff --git a/data/intuos5-m.tablet b/data/intuos5-m.tablet
index ee3b6bb..fa92f19 100644
--- a/data/intuos5-m.tablet
+++ b/data/intuos5-m.tablet
@@ -57,6 +57,7 @@ Touch=false
 Buttons=9
 Ring=true
 BuiltIn=false
+StatusLEDs=Ring
 
 [Buttons]
 Left=A;B;C;D;E;F;G;H;I
diff --git a/data/intuos5-s.tablet b/data/intuos5-s.tablet
index 665159d..ad3e7eb 100644
--- a/data/intuos5-s.tablet
+++ b/data/intuos5-s.tablet
@@ -55,6 +55,7 @@ Touch=false
 Buttons=7
 Ring=true
 BuiltIn=false
+StatusLEDs=Ring
 
 [Buttons]
 Left=A;B;C;D;E;F;G
diff --git a/data/intuos5-touch-l.tablet b/data/intuos5-touch-l.tablet
index cbd2685..aaeda44 100644
--- a/data/intuos5-touch-l.tablet
+++ b/data/intuos5-touch-l.tablet
@@ -57,6 +57,7 @@ Touch=true
 Buttons=9
 Ring=true
 BuiltIn=false
+StatusLEDs=Ring
 
 [Buttons]
 Left=A;B;C;D;E;F;G;H;I
diff --git a/data/intuos5-touch-m.tablet b/data/intuos5-touch-m.tablet
index 4cd57a8..c0bc2f6 100644
--- a/data/intuos5-touch-m.tablet
+++ b/data/intuos5-touch-m.tablet
@@ -57,6 +57,7 @@ Touch=true
 Buttons=9
 Ring=true
 BuiltIn=false
+StatusLEDs=Ring
 
 [Buttons]
 Left=A;B;C;D;E;F;G;H;I
diff --git a/data/intuos5-touch-s.tablet b/data/intuos5-touch-s.tablet
index 6e3812e..2abb2ae 100644
--- a/data/intuos5-touch-s.tablet
+++ b/data/intuos5-touch-s.tablet
@@ -55,6 +55,7 @@ Touch=true
 Buttons=7
 Ring=true
 BuiltIn=false
+StatusLEDs=Ring
 
 [Buttons]
 Left=A;B;C;D;E;F;G
-- 
1.7.1

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to