Re: [PATCH 0/3] Input: add ABS_TWIST and support it in HID and Wacom
From: Dmitry Torokhov
Date: Mon Nov 09 2026 - 21:25:58 EST
Hi Siarhei,
On Mon, Nov 09, 2026 at 06:06:29PM -0800, Siarhei Vishniakou wrote:
> Some styli can report rotation along their long ("barrel") axis,
> commonly referred to as "twist". While the HID specification defines
> this usage as HID_DG_TWIST (0x000d0041) in the Digitizers page, there is
> currently no corresponding evdev axis code to expose it to userspace.
>
> Because evdev has no MSC_SCAN equivalent for axes, drivers and OEMs
> currently work around this by mapping stylus twist onto unrelated axes
> such as ABS_Z or ABS_RZ. As a result, userspace input stacks must
> maintain device-specific workarounds to know which axis carries twist.
How is it different from orientation?
Thanks.
--
Dmitry