diff options
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-wacom | 8 | ||||
-rw-r--r-- | drivers/input/tablet/wacom.h | 6 |
2 files changed, 6 insertions, 8 deletions
diff --git a/Documentation/ABI/testing/sysfs-driver-wacom b/Documentation/ABI/testing/sysfs-driver-wacom index b1d5c17dd67f..b5601859de5a 100644 --- a/Documentation/ABI/testing/sysfs-driver-wacom +++ b/Documentation/ABI/testing/sysfs-driver-wacom | |||
@@ -23,7 +23,7 @@ What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/status0_lum | |||
23 | Date: August 2011 | 23 | Date: August 2011 |
24 | Contact: linux-input@vger.kernel.org | 24 | Contact: linux-input@vger.kernel.org |
25 | Description: | 25 | Description: |
26 | Writing to this file sets the status LED luminance (0..127) | 26 | Writing to this file sets the status LED luminance (1..127) |
27 | when the stylus does not touch the tablet surface, and no | 27 | when the stylus does not touch the tablet surface, and no |
28 | button is pressed on the stylus. This luminance level is | 28 | button is pressed on the stylus. This luminance level is |
29 | normally lower than the level when a button is pressed. | 29 | normally lower than the level when a button is pressed. |
@@ -32,7 +32,7 @@ What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/status1_lum | |||
32 | Date: August 2011 | 32 | Date: August 2011 |
33 | Contact: linux-input@vger.kernel.org | 33 | Contact: linux-input@vger.kernel.org |
34 | Description: | 34 | Description: |
35 | Writing to this file sets the status LED luminance (0..127) | 35 | Writing to this file sets the status LED luminance (1..127) |
36 | when the stylus touches the tablet surface, or any button is | 36 | when the stylus touches the tablet surface, or any button is |
37 | pressed on the stylus. | 37 | pressed on the stylus. |
38 | 38 | ||
@@ -41,9 +41,7 @@ Date: August 2011 | |||
41 | Contact: linux-input@vger.kernel.org | 41 | Contact: linux-input@vger.kernel.org |
42 | Description: | 42 | Description: |
43 | Writing to this file sets which one of the four status LEDs is | 43 | Writing to this file sets which one of the four status LEDs is |
44 | active (0..3). The other three LEDs are always inactive. By | 44 | active (0..3). The other three LEDs are always inactive. |
45 | means of specifying "-1" it is possible to set all status LEDs | ||
46 | to inactive. | ||
47 | 45 | ||
48 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/buttons_luminance | 46 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/buttons_luminance |
49 | Date: August 2011 | 47 | Date: August 2011 |
diff --git a/drivers/input/tablet/wacom.h b/drivers/input/tablet/wacom.h index 00332d66bc4b..561f1072343b 100644 --- a/drivers/input/tablet/wacom.h +++ b/drivers/input/tablet/wacom.h | |||
@@ -115,9 +115,9 @@ struct wacom { | |||
115 | bool open; | 115 | bool open; |
116 | char phys[32]; | 116 | char phys[32]; |
117 | struct wacom_led { | 117 | struct wacom_led { |
118 | u8 select; /* status led selector (0..3, -1=none) */ | 118 | u8 select; /* status led selector (0..3) */ |
119 | u8 llv; /* status led brightness no button */ | 119 | u8 llv; /* status led brightness no button (1..127) */ |
120 | u8 hlv; /* status led brightness button pressed */ | 120 | u8 hlv; /* status led brightness button pressed (1..127) */ |
121 | u8 img_lum; /* OLED matrix display brightness */ | 121 | u8 img_lum; /* OLED matrix display brightness */ |
122 | } led; | 122 | } led; |
123 | }; | 123 | }; |