diff options
Diffstat (limited to 'sys/arch/macppc/dev/akbdvar.h')
-rw-r--r-- | sys/arch/macppc/dev/akbdvar.h | 11 |
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 */ |