summaryrefslogtreecommitdiffstats
path: root/Documentation/input/alps.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/input/alps.txt')
-rw-r--r--Documentation/input/alps.txt57
1 files changed, 57 insertions, 0 deletions
diff --git a/Documentation/input/alps.txt b/Documentation/input/alps.txt
index 1fec1135791d..8d1341ccde64 100644
--- a/Documentation/input/alps.txt
+++ b/Documentation/input/alps.txt
@@ -319,3 +319,60 @@ For touchpad packet, the format is:
319 otherwise byte 0 bit 4 must be set and byte 0/4/5 are 319 otherwise byte 0 bit 4 must be set and byte 0/4/5 are
320 in NEW fmt 320 in NEW fmt
321 F: Number of fingers - 3, 0 means 3 fingers, 1 means 4 ... 321 F: Number of fingers - 3, 0 means 3 fingers, 1 means 4 ...
322
323
324ALPS Absolute Mode - Protocol Version 8
325---------------------------------------
326
327Spoken by SS4 (73 03 14) and SS5 (73 03 28) hardware.
328
329The packet type is given by the APD field, bits 4-5 of byte 3.
330
331Touchpad packet (APD = 0x2):
332
333 b7 b6 b5 b4 b3 b2 b1 b0
334 byte 0: SWM SWR SWL 1 1 0 0 X7
335 byte 1: 0 X6 X5 X4 X3 X2 X1 X0
336 byte 2: 0 Y6 Y5 Y4 Y3 Y2 Y1 Y0
337 byte 3: 0 T&P 1 0 1 0 0 Y7
338 byte 4: 0 Z6 Z5 Z4 Z3 Z2 Z1 Z0
339 byte 5: 0 0 0 0 0 0 0 0
340
341SWM, SWR, SWL: Middle, Right, and Left button states
342
343Touchpad 1 Finger packet (APD = 0x0):
344
345 b7 b6 b5 b4 b3 b2 b1 b0
346 byte 0: SWM SWR SWL 1 1 X2 X1 X0
347 byte 1: X9 X8 X7 1 X6 X5 X4 X3
348 byte 2: 0 X11 X10 LFB Y3 Y2 Y1 Y0
349 byte 3: Y5 Y4 0 0 1 TAPF2 TAPF1 TAPF0
350 byte 4: Zv7 Y11 Y10 1 Y9 Y8 Y7 Y6
351 byte 5: Zv6 Zv5 Zv4 0 Zv3 Zv2 Zv1 Zv0
352
353TAPF: ???
354LFB: ???
355
356Touchpad 2 Finger packet (APD = 0x1):
357
358 b7 b6 b5 b4 b3 b2 b1 b0
359 byte 0: SWM SWR SWL 1 1 AX6 AX5 AX4
360 byte 1: AX11 AX10 AX9 AX8 AX7 AZ1 AY4 AZ0
361 byte 2: AY11 AY10 AY9 CONT AY8 AY7 AY6 AY5
362 byte 3: 0 0 0 1 1 BX6 BX5 BX4
363 byte 4: BX11 BX10 BX9 BX8 BX7 BZ1 BY4 BZ0
364 byte 5: BY11 BY10 BY9 0 BY8 BY7 BY5 BY5
365
366CONT: A 3-or-4 Finger packet is to follow
367
368Touchpad 3-or-4 Finger packet (APD = 0x3):
369
370 b7 b6 b5 b4 b3 b2 b1 b0
371 byte 0: SWM SWR SWL 1 1 AX6 AX5 AX4
372 byte 1: AX11 AX10 AX9 AX8 AX7 AZ1 AY4 AZ0
373 byte 2: AY11 AY10 AY9 OVF AY8 AY7 AY6 AY5
374 byte 3: 0 0 1 1 1 BX6 BX5 BX4
375 byte 4: BX11 BX10 BX9 BX8 BX7 BZ1 BY4 BZ0
376 byte 5: BY11 BY10 BY9 0 BY8 BY7 BY5 BY5
377
378OVF: 5th finger detected