From: Przemo Firszt Date: Tue, 28 Feb 2012 17:19:05 +0000 (+0000) Subject: HID: wacom: Add pad buttons reporting on Intuos4 WL X-Git-Tag: v3.4-rc1~176^2~1^3~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6245bde29dd049300d663516398335be8d451b78;p=pandora-kernel.git 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 Acked-by:Ping Cheng Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed