Re: [PATCH 0/3] Input: add ABS_TWIST and support it in HID and Wacom

From
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date
2026-11-10 02:25:44
Also in
linux-doc, lkml
Reply to
Siarhei Vishniakou, 2026-11-10
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
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