input: wacom: Fix 3rd-gen Bamboo MT when 4+ fingers are in use
Subsystems (2)
PATCH 1/1 input: wacom: Fix 3rd-gen Bamboo MT when 4+ fingers are in use
The message count field uses three bits of storage, not two.
Signed-off-by Jason Gerecke <[email protected]>
--- drivers/input/tablet/wacom_wac.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/tablet/wacom_wac.c +1 -1
@@ -938,7 +938,7 @@ static int wacom_bpt3_touch(struct wacom_wac *wacom) {struct input_dev *input = wacom->input;unsigned char *data = wacom->data; -int count = data[1 ] &0x03 ; +int count = data[1 ] &0x07 ;int i;if (data[0 ] !=0x02 )
Signature · 1 line
1.7.9.1
Opps. The comment two lines below patch even says max count is 7.
Acked-by Chris Bagwell <[email protected]>
Chris
Quoted 21 lines · Jason Gerecke
The message count field uses three bits of storage, not two.
Signed-off-by Jason Gerecke <[email protected]>---
drivers/input/tablet/wacom_wac.c | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)drivers/input/tablet/wacom_wac.c +1
-2@@ -938,7 +938,7 @@ static int wacom_bpt3_touch(struct wacom_wac *wacom) { struct input_dev *input = wacom->input; unsigned char *data = wacom->data; - int count = data[1] & 0x03; + int count = data[1] & 0x07; int i; if (data[0] != 0x02) --
Quoted 2 lines
1.7.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html