Input: alps - Update documentation for trackstick v3 format
authorPali Rohár <pali.rohar@gmail.com>
Wed, 21 Mar 2018 20:03:36 +0000 (21:03 +0100)
committerJonathan Corbet <corbet@lwn.net>
Mon, 26 Mar 2018 14:40:34 +0000 (08:40 -0600)
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>
Documentation/input/devices/alps.rst

index 6779148e428cb830ed1a40ddd5c8d5ca1689e0d3..b556d6bde5e11744315fa8a67cb72c6b624ab3a2 100644 (file)
@@ -192,10 +192,13 @@ The final v3 packet type is the trackstick packet::
  byte 0:    1    1   x7   y7    1    1    1    1
  byte 1:    0   x6   x5   x4   x3   x2   x1   x0
  byte 2:    0   y6   y5   y4   y3   y2   y1   y0
- byte 3:    0    1    0    0    1    0    0    0
- byte 4:    0   z4   z3   z2   z1   z0    ?    ?
+ byte 3:    0    1   TP   SW    1    M    R    L
+ byte 4:    0   z6   z5   z4   z3   z2   z1   z0
  byte 5:    0    0    1    1    1    1    1    1
 
+TP means Tap SW status when tap processing is enabled or Press status when press
+processing is enabled. SW means scroll up when 4 buttons are available.
+
 ALPS Absolute Mode - Protocol Version 4
 ---------------------------------------