Source-Changes-HG archive

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

[src/trunk]: src Add WSKBD_TYPE_MAPLE and WSMOUSE_TYPE_MAPLE for Dreamcast Ma...



details:   https://anonhg.NetBSD.org/src/rev/d848876a8e33
branches:  trunk
changeset: 540344:d848876a8e33
user:      itohy <itohy%NetBSD.org@localhost>
date:      Tue Dec 10 13:05:09 2002 +0000

description:
Add WSKBD_TYPE_MAPLE and WSMOUSE_TYPE_MAPLE for Dreamcast Maple bus devices.

diffstat:

 sbin/wsconsctl/util.c     |  4 +++-
 sys/dev/wscons/wsconsio.h |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (50 lines):

diff -r c46a3392058e -r d848876a8e33 sbin/wsconsctl/util.c
--- a/sbin/wsconsctl/util.c     Tue Dec 10 12:24:05 2002 +0000
+++ b/sbin/wsconsctl/util.c     Tue Dec 10 13:05:09 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.14 2002/04/07 10:40:04 hannken Exp $ */
+/*     $NetBSD: util.c,v 1.15 2002/12/10 13:05:09 itohy Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -68,6 +68,7 @@
        { WSKBD_TYPE_ADB,               "adb" },
        { WSKBD_TYPE_HIL,               "hil" },
        { WSKBD_TYPE_AMIGA,             "amiga" },
+       { WSKBD_TYPE_MAPLE,             "maple" },
 };
 
 static struct nameint mstype_tab[] = {
@@ -82,6 +83,7 @@
        { WSMOUSE_TYPE_HIL,             "hil" },
        { WSMOUSE_TYPE_AMIGA,           "amiga" },
        { WSMOUSE_TYPE_MAXINE,          "dec-maxine" },
+       { WSMOUSE_TYPE_MAPLE,           "maple" },
 };
 
 static struct nameint dpytype_tab[] = {
diff -r c46a3392058e -r d848876a8e33 sys/dev/wscons/wsconsio.h
--- a/sys/dev/wscons/wsconsio.h Tue Dec 10 12:24:05 2002 +0000
+++ b/sys/dev/wscons/wsconsio.h Tue Dec 10 13:05:09 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsconsio.h,v 1.52 2002/09/25 14:21:07 reinoud Exp $ */
+/* $NetBSD: wsconsio.h,v 1.53 2002/12/10 13:05:09 itohy Exp $ */
 
 /*
  * Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.
@@ -92,6 +92,7 @@
 #define                WSKBD_TYPE_ADB          11      /* ADB */
 #define                WSKBD_TYPE_HIL          12      /* HIL keyboard */
 #define                WSKBD_TYPE_AMIGA        13      /* Amiga keyboard */
+#define                WSKBD_TYPE_MAPLE        14      /* Dreamcast Maple keyboard */
 
 /* Manipulate the keyboard bell. */
 struct wskbd_bell_data {
@@ -173,6 +174,7 @@
 #define                WSMOUSE_TYPE_HIL        9       /* HIL mouse */
 #define                WSMOUSE_TYPE_AMIGA      10      /* Amiga mouse */      
 #define                WSMOUSE_TYPE_MAXINE     11      /* DEC maxine mouse */
+#define                WSMOUSE_TYPE_MAPLE      12      /* Dreamcast Maple mouse */
 
 /* Set resolution.  Not applicable to all mouse types. */
 #define        WSMOUSEIO_SRES          _IOW('W', 33, u_int)



Home | Main Index | Thread Index | Old Index