HID: wacom: Add pad buttons reporting on Intuos4 WL
authorPrzemo Firszt <przemo@firszt.eu>
Tue, 28 Feb 2012 17:19:05 +0000 (17:19 +0000)
committerJiri Kosina <jkosina@suse.cz>
Thu, 1 Mar 2012 08:25:08 +0000 (09:25 +0100)
commit6245bde29dd049300d663516398335be8d451b78
tree2682ef8c0614d72d922b44f6053f064446a6a205
parente0829e9c1e6981450f11204a4104646ed0f6907a
HID: wacom: Add pad buttons reporting on Intuos4 WL

This patch adds reporting of 1 wheel button and 8 strip buttons for Intuos4 WL.
The buttons are reported as BTN_0 to BTN_9. The change of type butstate variable
is required as the old type 'char' couldn't store state of 9 buttons. The change
is not affecting Graphire tablet as it only uses first 2 bits of 'butstate'.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
Acked-by:Ping Cheng <pinglinux@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wacom.c
This page took 0.024563 seconds and 5 git commands to generate.