HID: wacom: Report 'strip2' values in ABS_RY
authorJason Gerecke <killertofu@gmail.com>
Wed, 16 Dec 2015 21:37:34 +0000 (13:37 -0800)
committerJiri Kosina <jkosina@suse.cz>
Thu, 17 Dec 2015 23:03:06 +0000 (00:03 +0100)
Commit c7f0522 accidentally used ABS_RX for reporting both 'strip1' and
'strip2', when the latter should actually be reported through ABS_RY.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c

index cf878106f4ed892ba1d4c027730210b8fc2afaae..94dffde5f3d5c7c33430b03bbcd33b268786fab6 100644 (file)
@@ -558,7 +558,7 @@ static int wacom_intuos_pad(struct wacom_wac *wacom)
                input_report_key(input, KEY_PROG1 + i, keys & (1 << i));
 
        input_report_abs(input, ABS_RX, strip1);
-       input_report_abs(input, ABS_RX, strip2);
+       input_report_abs(input, ABS_RY, strip2);
 
        input_report_abs(input, ABS_WHEEL,    ring1 & 0x7f ? ring1 : 0);
        input_report_abs(input, ABS_THROTTLE, ring2 & 0x07 ? ring2 : 0);