diff options
-rw-r--r-- | drivers/input/tablet/wacom_wac.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c index 2ff89904f26f..38bf86384aeb 100644 --- a/drivers/input/tablet/wacom_wac.c +++ b/drivers/input/tablet/wacom_wac.c | |||
@@ -455,6 +455,9 @@ static int wacom_intuos_irq(struct wacom_wac *wacom, void *wcombo) | |||
455 | wacom_report_key(wcombo, BTN_6, (data[3] & 0x20)); | 455 | wacom_report_key(wcombo, BTN_6, (data[3] & 0x20)); |
456 | if (data[1] & 0x80) { | 456 | if (data[1] & 0x80) { |
457 | wacom_report_abs(wcombo, ABS_WHEEL, (data[1] & 0x7f)); | 457 | wacom_report_abs(wcombo, ABS_WHEEL, (data[1] & 0x7f)); |
458 | } else { | ||
459 | /* Out of proximity, clear wheel value. */ | ||
460 | wacom_report_abs(wcombo, ABS_WHEEL, 0); | ||
458 | } | 461 | } |
459 | if (wacom->features->type != INTUOS4S) { | 462 | if (wacom->features->type != INTUOS4S) { |
460 | wacom_report_key(wcombo, BTN_7, (data[3] & 0x40)); | 463 | wacom_report_key(wcombo, BTN_7, (data[3] & 0x40)); |