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>
This commit is contained in:
Chase Douglas 2012-02-13 20:12:31 -08:00 committed by Jiri Kosina
parent 4fdc18d151
commit 503f7d53b3
1 changed files with 2 additions and 0 deletions

View File

@ -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) {