projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3975bc5
)
HID: fix pad button definition in hid-wacom
author
Przemo Firszt
<przemo@firszt.eu>
Mon, 4 Jan 2010 11:32:00 +0000
(12:32 +0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Wed, 13 Jan 2010 11:00:32 +0000
(12:00 +0100)
This fix is required for xorg driver to recognise 2 pad buttons
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
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 7475421722428bac0015bc3335190fbbf931abde..75ea66affb667f4bbb148fc352647d5e3b840ace 100644
(file)
--- a/
drivers/hid/hid-wacom.c
+++ b/
drivers/hid/hid-wacom.c
@@
-196,6
+196,9
@@
static int wacom_probe(struct hid_device *hdev,
/* Pad */
input->evbit[0] |= BIT(EV_MSC);
input->mscbit[0] |= BIT(MSC_SERIAL);
+ set_bit(BTN_0, input->keybit);
+ set_bit(BTN_1, input->keybit);
+ set_bit(BTN_TOOL_FINGER, input->keybit);
/* Distance, rubber and mouse */
input->absbit[0] |= BIT(ABS_DISTANCE);