diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-04-15 13:48:32 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-04-15 13:52:49 -0400 |
commit | 2310568f570e0f95bfb1cc79ff7db617e782e25c (patch) | |
tree | aa38c517231b0ec4a69cb1995ea3f1f3d2cc7354 | |
parent | 4f8d808889d05807f494f82f8cfaa6c113c2f761 (diff) |
Input: alps - document separate pointstick button bits for V2 devices
Non interleaved dualpoint v2 devices have separate pointstick button bits,
document this.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r-- | Documentation/input/alps.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/input/alps.txt b/Documentation/input/alps.txt index 92ae734c00c3..e301887d8523 100644 --- a/Documentation/input/alps.txt +++ b/Documentation/input/alps.txt | |||
@@ -94,6 +94,10 @@ PS/2 packet format | |||
94 | 94 | ||
95 | Note that the device never signals overflow condition. | 95 | Note that the device never signals overflow condition. |
96 | 96 | ||
97 | For protocol version 2 devices when the trackpoint is used, and no fingers | ||
98 | are on the touchpad, the M R L bits signal the combined status of both the | ||
99 | pointingstick and touchpad buttons. | ||
100 | |||
97 | ALPS Absolute Mode - Protocol Version 1 | 101 | ALPS Absolute Mode - Protocol Version 1 |
98 | -------------------------------------- | 102 | -------------------------------------- |
99 | 103 | ||
@@ -107,7 +111,7 @@ ALPS Absolute Mode - Protocol Version 1 | |||
107 | ALPS Absolute Mode - Protocol Version 2 | 111 | ALPS Absolute Mode - Protocol Version 2 |
108 | --------------------------------------- | 112 | --------------------------------------- |
109 | 113 | ||
110 | byte 0: 1 ? ? ? 1 ? ? ? | 114 | byte 0: 1 ? ? ? 1 PSM PSR PSL |
111 | byte 1: 0 x6 x5 x4 x3 x2 x1 x0 | 115 | byte 1: 0 x6 x5 x4 x3 x2 x1 x0 |
112 | byte 2: 0 x10 x9 x8 x7 ? fin ges | 116 | byte 2: 0 x10 x9 x8 x7 ? fin ges |
113 | byte 3: 0 y9 y8 y7 1 M R L | 117 | byte 3: 0 y9 y8 y7 1 M R L |
@@ -115,7 +119,8 @@ ALPS Absolute Mode - Protocol Version 2 | |||
115 | byte 5: 0 z6 z5 z4 z3 z2 z1 z0 | 119 | byte 5: 0 z6 z5 z4 z3 z2 z1 z0 |
116 | 120 | ||
117 | Protocol Version 2 DualPoint devices send standard PS/2 mouse packets for | 121 | Protocol Version 2 DualPoint devices send standard PS/2 mouse packets for |
118 | the DualPoint Stick. | 122 | the DualPoint Stick. For non interleaved dualpoint devices the pointingstick |
123 | buttons get reported separately in the PSM, PSR and PSL bits. | ||
119 | 124 | ||
120 | Dualpoint device -- interleaved packet format | 125 | Dualpoint device -- interleaved packet format |
121 | --------------------------------------------- | 126 | --------------------------------------------- |