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: http://review.tizen.org/git/?a=commitdiff_plain;h=503f7d53b368c8e4e13a7756220c0536fcf1a034;p=profile%2Fcommon%2Fkernel-common.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 2ab7175..7cf3ffe 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) {