diff options
author | Chase Douglas <chase.douglas@canonical.com> | 2012-02-14 05:12:31 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-02-21 11:52:20 +0100 |
commit | 503f7d53b368c8e4e13a7756220c0536fcf1a034 (patch) | |
tree | cf5a0d8b108c9a525744a1993b5e79c77c69d813 /drivers/hid | |
parent | HID: waltop: Add support for Waltop Q Pad (diff) | |
download | linux-503f7d53b368c8e4e13a7756220c0536fcf1a034.tar.xz linux-503f7d53b368c8e4e13a7756220c0536fcf1a034.zip |
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.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) { |