Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pckbport Add comment elaborating what a sliced comma...



details:   https://anonhg.NetBSD.org/src/rev/b1e730ad1c1a
branches:  trunk
changeset: 324631:b1e730ad1c1a
user:      maya <maya%NetBSD.org@localhost>
date:      Fri Jul 13 19:44:08 2018 +0000

description:
Add comment elaborating what a sliced command is.

diffstat:

 sys/dev/pckbport/pms.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 4a8cbe11716d -r b1e730ad1c1a sys/dev/pckbport/pms.c
--- a/sys/dev/pckbport/pms.c    Fri Jul 13 18:49:44 2018 +0000
+++ b/sys/dev/pckbport/pms.c    Fri Jul 13 19:44:08 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pms.c,v 1.36 2017/08/13 08:49:27 christos Exp $ */
+/* $NetBSD: pms.c,v 1.37 2018/07/13 19:44:08 maya Exp $ */
 
 /*-
  * Copyright (c) 2004 Kentaro Kurahone.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pms.c,v 1.36 2017/08/13 08:49:27 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pms.c,v 1.37 2018/07/13 19:44:08 maya Exp $");
 
 #include "opt_pms.h"
 
@@ -675,6 +675,10 @@
        }
 }
 
+/* 
+ * Touchpad special command sequence used by Synaptics and others.
+ * Sends 0xE6 0xE8 rr 0xE8 ss 0xE8 tt 0xE8 uu where (rr*64)+(ss*16)+(tt*4)+uu
+ */
 int
 pms_sliced_command(pckbport_tag_t tag, pckbport_slot_t slot, u_char scmd)
 {



Home | Main Index | Thread Index | Old Index