Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc Define PowerBook G3 Japanese keyboard.



details:   https://anonhg.NetBSD.org/src/rev/3fd9bf9f843e
branches:  trunk
changeset: 473705:3fd9bf9f843e
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Wed Jun 16 08:48:37 1999 +0000

description:
Define PowerBook G3 Japanese keyboard.

diffstat:

 sys/arch/macppc/dev/akbd.c       |  7 +++++--
 sys/arch/macppc/include/adbsys.h |  7 ++++---
 2 files changed, 9 insertions(+), 5 deletions(-)

diffs (63 lines):

diff -r ecedbd6d29de -r 3fd9bf9f843e sys/arch/macppc/dev/akbd.c
--- a/sys/arch/macppc/dev/akbd.c        Wed Jun 16 07:43:58 1999 +0000
+++ b/sys/arch/macppc/dev/akbd.c        Wed Jun 16 08:48:37 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: akbd.c,v 1.7 1999/05/06 19:20:59 thorpej Exp $ */
+/*     $NetBSD: akbd.c,v 1.8 1999/06/16 08:48:37 tsubai Exp $  */
 
 /*
  * Copyright (C) 1998  Colin Wood
@@ -171,7 +171,7 @@
                        adbinfo.siDataAreaAddr = (Ptr)0;
                } else {
                        printf("extended keyboard\n");
-#ifdef notyet  
+#ifdef notyet
                        blinkleds(sc);
 #endif
                }
@@ -227,6 +227,9 @@
        case ADB_PBJPKBD:
                printf("PowerBook keyboard (Japanese layout)\n");
                break;
+       case ADB_PBG3JPKBD:
+               printf("PowerBook G3 keyboard (Japanese layout)\n");
+               break;
        default:
                printf("mapped device (%d)\n", sc->handler_id);
                break;
diff -r ecedbd6d29de -r 3fd9bf9f843e sys/arch/macppc/include/adbsys.h
--- a/sys/arch/macppc/include/adbsys.h  Wed Jun 16 07:43:58 1999 +0000
+++ b/sys/arch/macppc/include/adbsys.h  Wed Jun 16 08:48:37 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: adbsys.h,v 1.2 1998/10/20 14:56:31 tsubai Exp $        */
+/*     $NetBSD: adbsys.h,v 1.3 1999/06/16 08:48:37 tsubai Exp $        */
 
 /*-
  * Copyright (C) 1993, 1994    Allen K. Briggs, Chris P. Caputo,
@@ -119,6 +119,7 @@
 #define ADB_PBEXTKBD   24
 #define ADB_DESIGNKBD  27      /* XXX Needs to be verified XXX */
 #define ADB_PBJPKBD    30
+#define ADB_PBG3JPKBD  201
 
        /* Interesting mouse handler IDs */
 #define ADBMS_100DPI   1
@@ -126,7 +127,7 @@
 #define ADBMS_MSA3     3       /* Mouse Systems A3 Mouse */
 #define ADBMS_EXTENDED 4       /* Extended mouse protocol */
 #define ADBMS_USPEED   0x2f    /* MicroSpeed mouse */
-#define ADBMS_UCONTOUR  0x66   /* Contour mouse */
+#define ADBMS_UCONTOUR 0x66    /* Contour mouse */
 
        /* Interesting tablet handler ID */
 #define ADB_ARTPAD     58      /* WACOM ArtPad II tablet */
@@ -138,7 +139,7 @@
        /* Get device info from ADB system */
 typedef struct adb_devinfo_s{
        adb_dev_t       dev[ADB_MAX_DEVS];
-               /* [addr].addr == -1 if none */ 
+               /* [addr].addr == -1 if none */
 } adb_devinfo_t;
 #define ADBIOCDEVSINFO         _IOR('A', 128, adb_devinfo_t)
 



Home | Main Index | Thread Index | Old Index