summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2012-02-13 20:12:31 -0800
committerJiri Kosina <jkosina@suse.cz>2012-02-21 11:52:20 +0100
commit503f7d53b368c8e4e13a7756220c0536fcf1a034 (patch)
treecf5a0d8b108c9a525744a1993b5e79c77c69d813 /drivers/hid
parent4fdc18d15151f3e7cc43070ec8d13570431b5abc (diff)
downloadop-kernel-dev-503f7d53b368c8e4e13a7756220c0536fcf1a034.zip
op-kernel-dev-503f7d53b368c8e4e13a7756220c0536fcf1a034.tar.gz
HID: hid-magicmouse: Add pointer and buttonpad properties for Magic Trackpad
Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-magicmouse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-magicmouse.c b/drivers/hid/hid-magicmouse.c
index 2ab7175..7cf3ffe 100644
--- 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) {
OpenPOWER on IntegriCloud