From 7fe43a0fa27770666874f11111cf4f3bc7319666 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Sun, 1 Jul 2001 04:31:24 +0000 Subject: Properly identify the PBG4 keyboard, US keyboard at least. --- sys/arch/powerpc/include/adbsys.h | 3 ++- sys/arch/powerpc/mac/akbd.c | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'sys') 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: -- cgit v1.2.3