linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Input: alps - Update documentation for trackstick v3 format
@ 2018-03-21 20:03 Pali Rohár
  2018-03-26 14:41 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Pali Rohár @ 2018-03-21 20:03 UTC (permalink / raw)
  To: Dmitry Torokhov, Jonathan Corbet, Masaki Ota
  Cc: linux-input, linux-doc, linux-kernel

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>
---
This is based on information which Masaki Ota provided to us.
---
 Documentation/input/devices/alps.rst | 7 +++++--
 1 file 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::
  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
 ---------------------------------------
 
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Input: alps - Update documentation for trackstick v3 format
  2018-03-21 20:03 [PATCH] Input: alps - Update documentation for trackstick v3 format Pali Rohár
@ 2018-03-26 14:41 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2018-03-26 14:41 UTC (permalink / raw)
  To: Pali Rohár
  Cc: Dmitry Torokhov, Masaki Ota, linux-input, linux-doc, linux-kernel

On Wed, 21 Mar 2018 21:03:36 +0100
Pali Rohár <pali.rohar@gmail.com> wrote:

> 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>
> ---
> This is based on information which Masaki Ota provided to us.

In the absence of screams of agony I'll assume that the change is
correct.  Applied to the docs tree, thanks.

jon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-26 14:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-21 20:03 [PATCH] Input: alps - Update documentation for trackstick v3 format Pali Rohár
2018-03-26 14:41 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).