Thread (7 messages) flat view 7 messages, 5 authors, 2012-02-14

Re: [PATCH resend] bcm5974: Add pointer and buttonpad properties

From: Wanlong Gao <hidden>
Date: 2012-02-14 05:08:38

On 02/14/2012 12:24 PM, Chase Douglas wrote:
Signed-off-by: Chase Douglas <redacted>
---
I sent to the wrong mailing list address the first time. Sorry!

Please add some comments here.
This shouldn't be the change log of this patch.

Thanks
-Wanlong Gao
quoted hunk ↗ jump to hunk
 drivers/input/mouse/bcm5974.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/input/mouse/bcm5974.c b/drivers/input/mouse/bcm5974.c
index 5ec617e..9faa049 100644
--- a/drivers/input/mouse/bcm5974.c
+++ b/drivers/input/mouse/bcm5974.c
@@ -434,6 +434,9 @@ static void setup_events_to_report(struct input_dev *input_dev,
 	__set_bit(BTN_LEFT, input_dev->keybit);
 
 	input_set_events_per_packet(input_dev, 60);
+
+	__set_bit(INPUT_PROP_POINTER, input->propbit);
+	__set_bit(INPUT_PROP_BUTTONPAD, input->propbit);
 }
 
 /* report button data as logical button state */
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help