projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32db737
)
HID: wacom: set ABS_MISC bit for Intuos4 WL
author
Przemo Firszt
<przemo@firszt.eu>
Fri, 24 Feb 2012 13:47:48 +0000
(13:47 +0000)
committer
Jiri Kosina
<jkosina@suse.cz>
Mon, 27 Feb 2012 14:29:07 +0000
(15:29 +0100)
ABS_MISC has to be set for Intuos4 WL otherwise xorg driver won't use proper
protocol and the information about tool id and serial is lost.
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wacom.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hid/hid-wacom.c
b/drivers/hid/hid-wacom.c
index 8b49229241424edf53522dc391ebe612073e6436..c4a193b6c44ec586327beb9c5b8804e97388b485 100644
(file)
--- a/
drivers/hid/hid-wacom.c
+++ b/
drivers/hid/hid-wacom.c
@@
-471,6
+471,7
@@
static int wacom_input_mapped(struct hid_device *hdev, struct hid_input *hi,
input_set_abs_params(input, ABS_DISTANCE, 0, 32, 0, 0);
break;
case USB_DEVICE_ID_WACOM_INTUOS4_BLUETOOTH:
+ __set_bit(ABS_MISC, input->absbit);
input_set_abs_params(input, ABS_X, 0, 40640, 4, 0);
input_set_abs_params(input, ABS_Y, 0, 25400, 4, 0);
input_set_abs_params(input, ABS_PRESSURE, 0, 2047, 0, 0);