From: Chase Douglas Date: Tue, 14 Feb 2012 04:12:31 +0000 (-0800) Subject: HID: hid-magicmouse: Add pointer and buttonpad properties for Magic Trackpad X-Git-Tag: v3.4-rc1~176^2^2~13 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=503f7d53b368c8e4e13a7756220c0536fcf1a034;p=karo-tx-linux.git HID: hid-magicmouse: Add pointer and buttonpad properties for Magic Trackpad Signed-off-by: Chase Douglas Signed-off-by: Jiri Kosina --- 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) {