Skip to content

Commit

Permalink
Input: wacom - lower the LED luminance
Browse files Browse the repository at this point in the history
The LED luminance level is normally lower when no button is pressed.

Reviewed-by: Eduard Hasenleithner <eduard@hasenleithner.at>
Tested-by: Eduard Hasenleithner <eduard@hasenleithner.at>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Ping Cheng authored and Dmitry Torokhov committed Oct 5, 2011
1 parent f01536e commit f4fa9a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Documentation/ABI/testing/sysfs-driver-wacom
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ Contact: linux-input@vger.kernel.org
Description:
Writing to this file sets the status LED luminance (0..127)
when the stylus does not touch the tablet surface, and no
button is pressed on the stylus.
button is pressed on the stylus. This luminance level is
normally lower than the level when a button is pressed.

What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/status1_luminance
Date: August 2011
Expand Down
2 changes: 1 addition & 1 deletion drivers/input/tablet/wacom_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ static int wacom_initialize_leds(struct wacom *wacom)

/* Initialize default values */
wacom->led.select = 0;
wacom->led.llv = 30;
wacom->led.llv = 10;
wacom->led.hlv = 20;
wacom->led.img_lum = 10;
wacom_led_control(wacom);
Expand Down

0 comments on commit f4fa9a6

Please sign in to comment.