Re: [PATCH 3/3] HID: wacom: report ABS_TWIST alongside ABS_Z for pen twist
From: Siarhei Vishniakou
Date: Wed Nov 25 2026 - 21:48:26 EST
вт, 24 нояб. 2026 г. в 11:39, Jason Gerecke <killertofu@xxxxxxxxx>:
>
> On Fri, Nov 13, 2026 at 3:29 PM Jason Gerecke <killertofu@xxxxxxxxx> wrote:
> >
> > On Mon, Nov 9, 2026 at 6:21 PM Siarhei Vishniakou <svv@xxxxxxxxxx> wrote:
> > >
> > > 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 <svv@xxxxxxxxxx>
> > > ---
>
> 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.