diff options
author | Chase Douglas <chase.douglas@canonical.com> | 2012-02-13 23:12:31 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-02-21 05:52:20 -0500 |
commit | 503f7d53b368c8e4e13a7756220c0536fcf1a034 (patch) | |
tree | cf5a0d8b108c9a525744a1993b5e79c77c69d813 /drivers/hid/hid-magicmouse.c | |
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>
Diffstat (limited to 'drivers/hid/hid-magicmouse.c')
-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 | |||
418 | __set_bit(BTN_TOOL_TRIPLETAP, input->keybit); | 418 | __set_bit(BTN_TOOL_TRIPLETAP, input->keybit); |
419 | __set_bit(BTN_TOOL_QUADTAP, input->keybit); | 419 | __set_bit(BTN_TOOL_QUADTAP, input->keybit); |
420 | __set_bit(BTN_TOUCH, input->keybit); | 420 | __set_bit(BTN_TOUCH, input->keybit); |
421 | __set_bit(INPUT_PROP_POINTER, input->propbit); | ||
422 | __set_bit(INPUT_PROP_BUTTONPAD, input->propbit); | ||
421 | } | 423 | } |
422 | 424 | ||
423 | if (report_touches) { | 425 | if (report_touches) { |