From patchwork Fri Feb 24 23:05:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Precise, 1/3] UBUNTU: SAUCE: (drop after 3.3) HID: hid-magicmouse: Add pointer and buttonpad properties for Magic Trackpad Date: Fri, 24 Feb 2012 13:05:49 -0000 From: Chase Douglas X-Patchwork-Id: 142995 Message-Id: <1330124751-31888-2-git-send-email-chase.douglas@canonical.com> To: kernel-team@lists.ubuntu.com Signed-off-by: Chase Douglas Signed-off-by: Jiri Kosina (cherry picked from commit 503f7d53b368c8e4e13a7756220c0536fcf1a034 from Jiri Kosina's HID for-next branch) --- 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 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) {