Input: wacom - add Intuos5 Touch Ring LED support
authorJason Gerecke <killertofu@gmail.com>
Tue, 3 Apr 2012 22:50:37 +0000 (15:50 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 4 Apr 2012 16:25:42 +0000 (09:25 -0700)
commit9b5b95dd516a13d53ecf9217672d2116f05097bc
treeda46a8b284d4595ff57e618b7e07066398e0b300
parentf860e581fd473250c6dcbd3e13d576b6197e4694
Input: wacom - add Intuos5 Touch Ring LED support

The Touch Ring LEDs on Intuos5 tablets use a different report
format which supports only 4 levels of brightness. We remap
the 7-bit value obtained from sysfs to an appropriate value
for the tablet. Control of the crop mark LEDs (new to the I5)
is left for a later patch.

Signed-off-by: Jason Gerecke <killertofu@gmail.com>
Reviewed-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Documentation/ABI/testing/sysfs-driver-wacom
drivers/input/tablet/wacom_sys.c