diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-07-01 04:31:24 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-07-01 04:31:24 +0000 |
commit | 7fe43a0fa27770666874f11111cf4f3bc7319666 (patch) | |
tree | 11f1d2c22b5449507496b95dc45b7e5cd389ae3c /sys/arch/powerpc | |
parent | 5cd1af9f6d4ba6a7dcf692f9f458a5eefe8bc70e (diff) |
Properly identify the PBG4 keyboard, US keyboard at least.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/include/adbsys.h | 3 | ||||
-rw-r--r-- | sys/arch/powerpc/mac/akbd.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/adbsys.h b/sys/arch/powerpc/include/adbsys.h index 3a7b492d1d5..16ebcf83fb5 100644 --- a/sys/arch/powerpc/include/adbsys.h +++ b/sys/arch/powerpc/include/adbsys.h @@ -1,4 +1,4 @@ -/* $OpenBSD: adbsys.h,v 1.4 2001/06/29 16:22:10 maja Exp $ */ +/* $OpenBSD: adbsys.h,v 1.5 2001/07/01 04:31:23 drahn Exp $ */ /* $NetBSD: adbsys.h,v 1.4 2000/12/19 02:59:24 tsubai Exp $ */ /*- @@ -120,6 +120,7 @@ typedef struct adb_dev_s{ #define ADB_PBEXTKBD 24 #define ADB_DESIGNKBD 27 /* XXX Needs to be verified XXX */ #define ADB_PBJPKBD 30 +#define ADB_PBG4KBD 195 #define ADB_IBITISOKBD 196 #define ADB_PBG3JPKBD 201 diff --git a/sys/arch/powerpc/mac/akbd.c b/sys/arch/powerpc/mac/akbd.c index e2967f7e8f8..f84d5318981 100644 --- a/sys/arch/powerpc/mac/akbd.c +++ b/sys/arch/powerpc/mac/akbd.c @@ -227,6 +227,9 @@ akbdattach(parent, self, aux) case ADB_PBG3JPKBD: printf("PowerBook G3 keyboard (Japanese layout)\n"); break; + case ADB_PBG4KBD: + printf("PowerBook G4 keyboard (Inverted T)\n"); + break; case ADB_IBITISOKBD: printf("iBook keyboard with inverted T (ISO layout)\n"); default: |