Went into 3.4, seen in Ubuntu 3.2 tree. Applies and compiles fine             
in latest 3.2.

>From 503f7d53b368c8e4e13a7756220c0536fcf1a034 Mon Sep 17 00:00:00 2001
From: Chase Douglas <chase.doug...@canonical.com>
Date: Mon, 13 Feb 2012 20:12:31 -0800
Subject: [PATCH] HID: hid-magicmouse: Add pointer and buttonpad properties
 for Magic Trackpad

Signed-off-by: Chase Douglas <chase.doug...@canonical.com>
Signed-off-by: Jiri Kosina <jkos...@suse.cz>
---
 drivers/hid/hid-magicmouse.c | 2 ++
 1 file changed, 2 insertions(+)

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

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to