summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsconsio.h
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>2002-05-29 20:43:45 +0000
committerMats O Jansson <maja@cvs.openbsd.org>2002-05-29 20:43:45 +0000
commit9374390cf13cb01427ebc5768447ecefb272f08a (patch)
treea13f0178a331902d4c24f691c0a772e47009b9e0 /sys/dev/wscons/wsconsio.h
parentbf867a67725789dfad746d2c0782810da103750b (diff)
Add a new wskbd type for Sun type 5 keyboards (WSKBD_TYPE_SUN5).
This is needed since eg Swedish type 4 and 5 keyboard has keycodes with different keycodes. eg AltGr and Compose are switched in type 5 compared with type 4. This change will need a new Xserver to allow sun type 5 keyboards. -moj ok miod@
Diffstat (limited to 'sys/dev/wscons/wsconsio.h')
-rw-r--r--sys/dev/wscons/wsconsio.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h
index d6675067483..e27c0135893 100644
--- a/sys/dev/wscons/wsconsio.h
+++ b/sys/dev/wscons/wsconsio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsconsio.h,v 1.17 2002/05/22 21:29:10 jason Exp $ */
+/* $OpenBSD: wsconsio.h,v 1.18 2002/05/29 20:43:44 maja Exp $ */
/* $NetBSD: wsconsio.h,v 1.31.2.1 2000/07/07 09:49:17 hannken Exp $ */
/*
@@ -108,7 +108,8 @@ struct wscons_event {
#define WSKBD_TYPE_HPC_BTN 8 /* HPC/PsPC buttons */
#define WSKBD_TYPE_ARCHIMEDES 9 /* Archimedes keyboard */
#define WSKBD_TYPE_ADB 10 /* Apple ADB keyboard */
-#define WSKBD_TYPE_SUN 11 /* Sun Type3/4/5 */
+#define WSKBD_TYPE_SUN 11 /* Sun Type3/4 */
+#define WSKBD_TYPE_SUN5 12 /* Sun Type5 */
/* Manipulate the keyboard bell. */
struct wskbd_bell_data {