diff options
author | 2003-01-22 19:02:31 +0000 | |
---|---|---|
committer | 2003-01-22 19:02:31 +0000 | |
commit | 618c0a7c358926a684bb6ec2bbbd30d3d85c308e (patch) | |
tree | 6f4f22e1809aa32644c8d46f84c3d4e5bf214b17 /sys/dev/sun/sunkbdvar.h | |
parent | Correctly handle the case where the "address" property of a zs node is (diff) | |
download | wireguard-openbsd-618c0a7c358926a684bb6ec2bbbd30d3d85c308e.tar.xz wireguard-openbsd-618c0a7c358926a684bb6ec2bbbd30d3d85c308e.zip |
Recognize the Voyager ``Compact-1'' keyboard layouts.
Currently, they are mapped to the corresponding type 5 layouts, but some
tweaks might be necessary in the future.
Diffstat (limited to 'sys/dev/sun/sunkbdvar.h')
-rw-r--r-- | sys/dev/sun/sunkbdvar.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/sun/sunkbdvar.h b/sys/dev/sun/sunkbdvar.h index aa599bdc55f..22d0435e1fc 100644 --- a/sys/dev/sun/sunkbdvar.h +++ b/sys/dev/sun/sunkbdvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sunkbdvar.h,v 1.5 2002/11/29 01:00:51 miod Exp $ */ +/* $OpenBSD: sunkbdvar.h,v 1.6 2003/01/22 19:02:31 miod Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -45,8 +45,10 @@ 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. + * + * Note that ``Compact-1'' keyboards will be abusively reported as type 5. */ #define ISTYPE5(layout) ((layout) > 0x20) -#define MAXSUNLAYOUT 0x040 +#define MAXSUNLAYOUT 0x061 extern const int sunkbd_layouts[MAXSUNLAYOUT]; |