aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/input/tablet/wacom_wac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c
index 532d067a9e07..93171098abbd 100644
--- a/drivers/input/tablet/wacom_wac.c
+++ b/drivers/input/tablet/wacom_wac.c
@@ -606,7 +606,7 @@ static int wacom_intuos_irq(struct wacom_wac *wacom)
606 input_report_abs(input, ABS_WHEEL, 0); 606 input_report_abs(input, ABS_WHEEL, 0);
607 } 607 }
608 608
609 if (data[2] | (data[3] & 0x01) | data[4]) { 609 if (data[2] | (data[3] & 0x01) | data[4] | data[5]) {
610 input_report_key(input, wacom->tool[1], 1); 610 input_report_key(input, wacom->tool[1], 1);
611 input_report_abs(input, ABS_MISC, PAD_DEVICE_ID); 611 input_report_abs(input, ABS_MISC, PAD_DEVICE_ID);
612 } else { 612 } else {