diff options
author | Chase Douglas <chase.douglas@canonical.com> | 2012-02-13 20:12:31 -0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-02-21 11:52:20 +0100 |
commit | 503f7d53b368c8e4e13a7756220c0536fcf1a034 (patch) | |
tree | cf5a0d8b108c9a525744a1993b5e79c77c69d813 | |
parent | 4fdc18d15151f3e7cc43070ec8d13570431b5abc (diff) |
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>
-rw-r--r-- | drivers/hid/hid-magicmouse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-magicmouse.c b/drivers/hid/hid-magicmouse.c index 2ab71758e2e2..7cf3ffe4b7bc 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) { |