Skip to content

Commit b520e49

Browse files
paliJonathan Corbet
authored andcommitted
Input: alps - Update documentation for trackstick v3 format
Bits for M, R and L buttons are already processed in alps. Other newly documented bits not yet. Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent 156383b commit b520e49

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎Documentation/input/devices/alps.rst‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,13 @@ The final v3 packet type is the trackstick packet::
192192
byte 0: 1 1 x7 y7 1 1 1 1
193193
byte 1: 0 x6 x5 x4 x3 x2 x1 x0
194194
byte 2: 0 y6 y5 y4 y3 y2 y1 y0
195-
byte 3: 0 1 0 0 1 0 0 0
196-
byte 4: 0 z4 z3 z2 z1 z0 ? ?
195+
byte 3: 0 1 TP SW 1 M R L
196+
byte 4: 0 z6 z5 z4 z3 z2 z1 z0
197197
byte 5: 0 0 1 1 1 1 1 1
198198

199+
TP means Tap SW status when tap processing is enabled or Press status when press
200+
processing is enabled. SW means scroll up when 4 buttons are available.
201+
199202
ALPS Absolute Mode - Protocol Version 4
200203
---------------------------------------
201204

0 commit comments

Comments
 (0)