Re: [PATCH 3/3] HID: wacom: report ABS_TWIST alongside ABS_Z for pen twist

From
Siarhei Vishniakou <hidden>
Date
2026-11-26 02:48:14
Also in
linux-doc, lkml
Reply to
Jason Gerecke, 2026-11-24
вт, 24 нояб. 2026 г. в 11:39, Jason Gerecke [off-list ref]:
On Fri, Nov 13, 2026 at 3:29 PM Jason Gerecke [off-list ref] wrote:
quoted
On Mon, Nov 9, 2026 at 6:21 PM Siarhei Vishniakou [off-list ref] wrote:
quoted
Historically, Wacom tablets reported stylus barrel rotation (twist)
via ABS_Z because a dedicated evdev axis did not exist. Now that we
have this axis, report pen twist on ABS_TWIST in addition to ABS_Z.

Keep reporting ABS_Z to maintain backward compatibility for existing
applications that support Wacom devices.

Signed-off-by: Siarhei Vishniakou <redacted>
---
Still waiting for the requested inline comments, but in the meantime
I've been able to test and verify that the code works as expected:
Thanks Jason for the feedback and for testing this!
I just uploaded a v2 where I had to rework the rotation logic - this
way, reporting "0" would mean that the device is aligned with "North"
direction.

Could you please re-review the patch? Some of the code had to change
significantly.
Thread (11 messages) 11 messages, 3 authors, last reply 3d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help