Skip to content

Commit

Permalink
HID: wacom: Report 'strip2' values in ABS_RY
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jason Gerecke authored and Jiri Kosina committed Dec 17, 2015
1 parent f73d08d commit 03a0dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hid/wacom_wac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 03a0dc5

Please sign in to comment.