Ping Cheng
7ccced33a0
HID: wacom: Only report rotation for art pen
...
The generic routine, wacom_wac_pen_event, turns rotation value 90
degree anti-clockwise before posting the events. This non-zero
event trggers a non-zero ABS_Z event for non art pen tools. However,
HID_DG_TWIST is only supported by art pen.
[jkosina@suse.cz: fix build: add missing brace]
Cc: stable@vger.kernel.org
Signed-off-by: Ping Cheng <ping.cheng@wacom.com>
Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
--
Hi Jiri,
This is kind of a version 2 of the last one I posted two days ago.
I updated the logic so it has less changed lines: 29 vs 158! Hopefully,
the logic is easier to follow now. Please ignore the last one.
Thank you!
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2022-05-27 09:05:31 +02:00
..
2022-05-11 16:27:06 +02:00
2022-05-20 12:32:31 +01:00
2022-04-22 17:22:51 +02:00
2022-05-23 14:14:50 -07:00
2022-03-17 13:56:58 -07:00
2022-03-18 20:31:14 +01:00
2022-05-24 15:02:58 -07:00
2022-03-25 13:35:34 -07:00
2022-05-23 20:49:45 -07:00
2022-03-18 17:12:09 +01:00
2022-05-01 09:30:47 -07:00
2022-05-15 18:31:28 -06:00
2022-05-24 14:50:54 -07:00
2022-05-17 12:41:07 -07:00
2022-04-11 11:48:01 +02:00
2022-02-25 12:08:52 +01:00
2022-03-28 12:27:35 -07:00
2022-04-26 12:08:31 +05:30
2022-04-19 17:42:08 -07:00
2022-05-23 18:47:50 +03:00
2022-04-08 12:59:43 -07:00
2022-03-24 18:12:09 -07:00
2022-04-20 17:24:43 +05:30
2022-05-13 13:35:10 +02:00
2022-05-23 19:32:59 -07:00
2022-04-25 08:01:09 +02:00
2022-05-23 17:34:20 -07:00
2022-05-23 16:58:49 -07:00
2022-05-23 20:49:45 -07:00
2022-05-27 09:05:31 +02:00
2022-04-07 06:35:34 -10:00
2022-05-22 12:25:55 -07:00
2022-03-11 14:56:57 -06:00
2022-03-28 12:27:35 -07:00
2022-05-21 13:41:28 +02:00
2022-03-08 22:33:52 +01:00
2022-04-27 20:36:47 +02:00
2022-04-16 15:03:58 +01:00
2022-05-04 21:29:25 -03:00
2022-05-21 13:58:43 -10:00
2022-05-03 22:24:21 +03:00
2022-05-04 15:13:39 +02:00
2022-05-20 18:48:54 +02:00
2022-03-21 13:26:38 +00:00
2022-03-27 14:09:48 -07:00
2022-03-12 19:33:30 -06:00
2022-05-23 14:04:14 -07:00
2022-04-09 17:45:49 +02:00
2022-04-21 17:00:24 +02:00
2022-04-06 22:28:07 -04:00
2022-03-25 13:56:18 -07:00
2022-05-24 12:27:09 -07:00
2022-05-24 14:56:38 -07:00
2022-05-24 15:13:30 -07:00
2022-05-24 12:27:09 -07:00
2022-05-18 13:58:13 +01:00
2022-03-30 10:04:11 -07:00
2022-05-23 14:04:14 -07:00
2022-03-18 14:08:36 +01:00
2022-05-24 14:31:29 -07:00
2022-03-03 09:35:04 +05:30
2022-03-29 21:37:12 +02:00
2022-03-18 14:01:41 +01:00
2022-05-23 20:49:45 -07:00
2022-02-28 15:08:14 +01:00
2022-05-23 21:06:11 -07:00
2022-04-20 14:42:44 +05:30
2022-05-23 16:58:49 -07:00
2022-05-19 19:46:25 +02:00
2022-03-21 14:46:01 -07:00
2022-04-13 12:05:22 +02:00
2022-03-01 18:59:35 +01:00
2022-03-18 14:01:19 +01:00
2022-05-18 21:44:37 -07:00
2022-02-24 15:14:56 +01:00
2022-02-25 17:19:21 +01:00
2022-05-17 16:59:05 +01:00
2022-03-30 10:50:48 -07:00
2022-04-04 11:14:13 +02:00
2022-03-13 11:49:53 -05:00
2022-05-23 20:56:17 -07:00
2022-05-23 21:01:30 -07:00
2022-05-23 20:49:45 -07:00
2022-05-09 16:00:20 +02:00
2022-04-10 09:32:08 +08:00
2022-03-28 12:27:35 -07:00
2022-05-24 15:13:30 -07:00
2022-04-04 16:35:20 +02:00
2022-05-23 13:56:39 -07:00
2022-04-05 08:56:26 +02:00
2022-05-24 14:23:10 -07:00
2022-03-28 12:27:35 -07:00
2022-05-23 20:56:17 -07:00
2022-05-19 14:22:05 +02:00
2022-05-18 12:31:31 -04:00
2022-04-13 11:37:44 -06:00
2022-05-18 12:33:51 -04:00
2022-05-11 20:22:22 +02:00
2022-05-23 17:38:01 -07:00
2022-04-05 10:40:52 -07:00
2022-03-18 14:07:09 +01:00
2022-03-31 14:14:03 -07:00
2022-05-19 14:44:08 +02:00