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:
4fdc18d
)
HID: hid-magicmouse: Add pointer and buttonpad properties for Magic Trackpad
author
Chase Douglas
<chase.douglas@canonical.com>
Tue, 14 Feb 2012 04:12:31 +0000
(20:12 -0800)
committer
Jiri Kosina
<jkosina@suse.cz>
Tue, 21 Feb 2012 10:52:20 +0000
(11:52 +0100)
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-magicmouse.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hid/hid-magicmouse.c
b/drivers/hid/hid-magicmouse.c
index 2ab71758e2e22940e0c53c1873a32a03152a9808..7cf3ffe4b7bc26f4eeda3f2167c1f88f6e46e29b 100644
(file)
--- a/
drivers/hid/hid-magicmouse.c
+++ b/
drivers/hid/hid-magicmouse.c
@@
-418,6
+418,8
@@
static void magicmouse_setup_input(struct input_dev *input, struct hid_device *h
__set_bit(BTN_TOOL_TRIPLETAP, input->keybit);
__set_bit(BTN_TOOL_QUADTAP, input->keybit);
__set_bit(BTN_TOUCH, input->keybit);
+ __set_bit(INPUT_PROP_POINTER, input->propbit);
+ __set_bit(INPUT_PROP_BUTTONPAD, input->propbit);
}
if (report_touches) {