projects
/
profile
/
ivi
/
kernel-x86-ivi.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
|
history
diff --git
a/drivers/hid/hid-magicmouse.c
b/drivers/hid/hid-magicmouse.c
index
2ab7175
..
7cf3ffe
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) {