diff options
| author | leo <leo@NetBSD.org> | 1997-01-10 21:24:25 +0000 |
|---|---|---|
| committer | leo <leo@NetBSD.org> | 1997-01-10 21:24:25 +0000 |
| commit | 7a0c8fa119caf36bb32221bccfe8f6d844eaffa2 (patch) | |
| tree | 515d522f0488ee4e7fc1b3af7e287cf2cc1e7fdd /sys/arch/atari/dev/kbdmap.h | |
| parent | 2fa61d9691461fdea4ccf286fe500768360d6a88 (diff) | |
Handle keyboard modifiers *before* handing the keycodes to either the
console driver or the DDB keyboard functions. This prevents annoyances
with out of sync modifier stati.
Diffstat (limited to 'sys/arch/atari/dev/kbdmap.h')
| -rw-r--r-- | sys/arch/atari/dev/kbdmap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/atari/dev/kbdmap.h b/sys/arch/atari/dev/kbdmap.h index b75795cbfb1..f6f3682dc3d 100644 --- a/sys/arch/atari/dev/kbdmap.h +++ b/sys/arch/atari/dev/kbdmap.h @@ -1,4 +1,4 @@ -/* $NetBSD: kbdmap.h,v 1.3 1995/07/24 05:56:17 leo Exp $ */ +/* $NetBSD: kbdmap.h,v 1.4 1997/01/10 21:24:27 leo Exp $ */ /* * Copyright (c) 1993 Markus Wild @@ -127,6 +127,7 @@ struct key { #define KBD_SCANCODE(code) (code & 0x7f) #define KBD_RELEASED(code) (code & 0x80 ? 1 : 0) +#define KBD_IS_KEY(code) ((u_char)(code) < 0xf6) struct kbdmap { struct key keys[KBD_NUM_KEYS], |
