diff options
Diffstat (limited to 'sys/dev/sun/sunkbdvar.h')
-rw-r--r-- | sys/dev/sun/sunkbdvar.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/sun/sunkbdvar.h b/sys/dev/sun/sunkbdvar.h index 503f046581f..6c0bc7219d9 100644 --- a/sys/dev/sun/sunkbdvar.h +++ b/sys/dev/sun/sunkbdvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sunkbdvar.h,v 1.3 2002/05/29 20:43:43 maja Exp $ */ +/* $OpenBSD: sunkbdvar.h,v 1.4 2002/08/12 10:43:56 miod Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -36,10 +36,14 @@ * */ -extern const keysym_t sunkbd_keydesc_us[]; extern const struct wscons_keydesc sunkbd_keydesctab[]; extern struct wskbd_mapdata sunkbd_keymapdata; extern const struct wscons_keydesc sunkbd5_keydesctab[]; extern struct wskbd_mapdata sunkbd5_keymapdata; +/* + * Keyboard types 5 and 6 identify themselves as type 4, but might have + * different layouts. Fortunately they will have distinct layout codes, so + * here's a way to distinct types 5 and 6 from type 4. + */ #define ISTYPE5(layout) ((layout) > 0x20) |