diff options
| author | Pali Rohár <pali.rohar@gmail.com> | 2018-03-21 16:03:36 -0400 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2018-03-26 10:40:34 -0400 |
| commit | b520e49befd02358f7cd6526ea01dcd9bf0f5e61 (patch) | |
| tree | 5274edf95a59ba6bcddd4bb0d41e2b3ad4c35271 /Documentation/input | |
| parent | 156383b190cd1b240a4c8636c9ce7a2a42938b24 (diff) | |
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>
Diffstat (limited to 'Documentation/input')
| -rw-r--r-- | Documentation/input/devices/alps.rst | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/input/devices/alps.rst b/Documentation/input/devices/alps.rst index 6779148e428c..b556d6bde5e1 100644 --- a/Documentation/input/devices/alps.rst +++ b/Documentation/input/devices/alps.rst | |||
| @@ -192,10 +192,13 @@ The final v3 packet type is the trackstick packet:: | |||
| 192 | byte 0: 1 1 x7 y7 1 1 1 1 | 192 | byte 0: 1 1 x7 y7 1 1 1 1 |
| 193 | byte 1: 0 x6 x5 x4 x3 x2 x1 x0 | 193 | byte 1: 0 x6 x5 x4 x3 x2 x1 x0 |
| 194 | byte 2: 0 y6 y5 y4 y3 y2 y1 y0 | 194 | byte 2: 0 y6 y5 y4 y3 y2 y1 y0 |
| 195 | byte 3: 0 1 0 0 1 0 0 0 | 195 | byte 3: 0 1 TP SW 1 M R L |
| 196 | byte 4: 0 z4 z3 z2 z1 z0 ? ? | 196 | byte 4: 0 z6 z5 z4 z3 z2 z1 z0 |
| 197 | byte 5: 0 0 1 1 1 1 1 1 | 197 | byte 5: 0 0 1 1 1 1 1 1 |
| 198 | 198 | ||
| 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 | |||
| 199 | ALPS Absolute Mode - Protocol Version 4 | 202 | ALPS Absolute Mode - Protocol Version 4 |
| 200 | --------------------------------------- | 203 | --------------------------------------- |
| 201 | 204 | ||
