summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev/akbdvar.h
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-03-27 21:48:13 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-03-27 21:48:13 +0000
commitb9896eec712bfbeab915cd74d752e6b1b519015d (patch)
tree9308097ca546081cf7611d2d7d990e8f4bb9460e /sys/arch/macppc/dev/akbdvar.h
parent819f6e00b1a87881d334c15f1fb3708e44fb18c7 (diff)
add WSDISPLAY_COMPAT_RAWKBD support for macppc, not complete yet, Fx keys
are missing in translation table. Not enabled yet.
Diffstat (limited to 'sys/arch/macppc/dev/akbdvar.h')
-rw-r--r--sys/arch/macppc/dev/akbdvar.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/arch/macppc/dev/akbdvar.h b/sys/arch/macppc/dev/akbdvar.h
index 50964ec27e4..2689d719931 100644
--- a/sys/arch/macppc/dev/akbdvar.h
+++ b/sys/arch/macppc/dev/akbdvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: akbdvar.h,v 1.2 2002/03/14 01:26:36 millert Exp $ */
+/* $OpenBSD: akbdvar.h,v 1.3 2002/03/27 21:48:12 drahn Exp $ */
/* $NetBSD: akbdvar.h,v 1.4 1999/02/17 14:56:56 tsubai Exp $ */
/*
@@ -49,6 +49,15 @@ struct akbd_softc {
u_int8_t sc_leds; /* current LED state */
struct device *sc_wskbddev;
+#ifdef WSDISPLAY_COMPAT_RAWKBD
+#define MAXKEYS 20
+#define REP_DELAY1 400
+#define REP_DELAYN 100
+ int sc_rawkbd;
+ int sc_nrep;
+ char sc_rep[MAXKEYS];
+ struct timeout sc_rawrepeat_ch;
+#endif /* defined(WSDISPLAY_COMPAT_RAWKBD) */
};
/* LED register bits, inverse of actual register value */