Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x68k/dev Fix a wrong comment about mouse buttons, p...



details:   https://anonhg.NetBSD.org/src/rev/49a60ffbdce8
branches:  trunk
changeset: 366365:49a60ffbdce8
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Mon May 23 16:19:59 2022 +0000

description:
Fix a wrong comment about mouse buttons, probably derived from Inside X68000.

diffstat:

 sys/arch/x68k/dev/ms.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 603e6bd31459 -r 49a60ffbdce8 sys/arch/x68k/dev/ms.c
--- a/sys/arch/x68k/dev/ms.c    Mon May 23 15:03:05 2022 +0000
+++ b/sys/arch/x68k/dev/ms.c    Mon May 23 16:19:59 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ms.c,v 1.37 2022/05/23 12:17:17 tsutsui Exp $ */
+/*     $NetBSD: ms.c,v 1.38 2022/05/23 16:19:59 tsutsui Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ms.c,v 1.37 2022/05/23 12:17:17 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ms.c,v 1.38 2022/05/23 16:19:59 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -103,7 +103,7 @@
  *     b dx dy
  *
  * where b is the button state, encoded as 0x80|(buttons)---there are
- * two buttons (2=left, 1=right)---and dx,dy are X and Y delta values.
+ * two buttons (1=left, 2=right)---and dx,dy are X and Y delta values.
  *
  * It needs a trigger for the transmission.  When zs RTS negated, the
  * mouse begins the sequence.  RTS assertion has no effect.



Home | Main Index | Thread Index | Old Index