projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
HID: wacom: correct misreported EKR ring values
[platform/kernel/linux-rpi.git]
/
drivers
/
hid
/
wacom_wac.c
diff --git
a/drivers/hid/wacom_wac.c
b/drivers/hid/wacom_wac.c
index
7a9e229
..
1713235
100644
(file)
--- a/
drivers/hid/wacom_wac.c
+++ b/
drivers/hid/wacom_wac.c
@@
-1061,7
+1061,7
@@
static int wacom_remote_irq(struct wacom_wac *wacom_wac, size_t len)
input_report_key(input, BTN_BASE2, (data[11] & 0x02));
if (data[12] & 0x80)
- input_report_abs(input, ABS_WHEEL, (data[12] & 0x7f));
+ input_report_abs(input, ABS_WHEEL, (data[12] & 0x7f)
- 1
);
else
input_report_abs(input, ABS_WHEEL, 0);