diff options
-rw-r--r-- | drivers/hid/wacom_wac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c index 453da6d5c583..9db6a8b1150c 100644 --- a/drivers/hid/wacom_wac.c +++ b/drivers/hid/wacom_wac.c | |||
@@ -966,7 +966,7 @@ static int wacom_intuos_irq(struct wacom_wac *wacom) | |||
966 | input_report_key(input, BTN_A, (data[2] & 0x80)); /* Down */ | 966 | input_report_key(input, BTN_A, (data[2] & 0x80)); /* Down */ |
967 | input_report_key(input, BTN_0, (data[1] & 0x01)); /* Center */ | 967 | input_report_key(input, BTN_0, (data[1] & 0x01)); /* Center */ |
968 | 968 | ||
969 | if (data[4] | (data[3] & 0x01)) { | 969 | if (data[2] | (data[1] & 0x07)) { |
970 | input_report_abs(input, ABS_MISC, PAD_DEVICE_ID); | 970 | input_report_abs(input, ABS_MISC, PAD_DEVICE_ID); |
971 | } else { | 971 | } else { |
972 | input_report_abs(input, ABS_MISC, 0); | 972 | input_report_abs(input, ABS_MISC, 0); |