summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsconsio.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-02-16 02:08:05 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-02-16 02:08:05 +0000
commit7f47e031d0ea64bafd82fddda67000dc56426fc8 (patch)
treef8631a20d4e441dd911159ad89c226dcd2e7884f /sys/dev/wscons/wsconsio.h
parent4241fa28fefb7d8629a28b063203c78f1ba91fac (diff)
Provide a wskbd type for gsc keyboards, make gsckbd use it, and take advantage
of it in kbd(8) to work correctly with such a keyboard. Reminded by maja some time ago.
Diffstat (limited to 'sys/dev/wscons/wsconsio.h')
-rw-r--r--sys/dev/wscons/wsconsio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h
index 93487a213ec..7a9dd46f4ef 100644
--- a/sys/dev/wscons/wsconsio.h
+++ b/sys/dev/wscons/wsconsio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsconsio.h,v 1.25 2003/02/12 01:44:11 miod Exp $ */
+/* $OpenBSD: wsconsio.h,v 1.26 2003/02/16 02:08:04 miod Exp $ */
/* $NetBSD: wsconsio.h,v 1.31.2.1 2000/07/07 09:49:17 hannken Exp $ */
/*
@@ -112,6 +112,7 @@ struct wscons_event {
#define WSKBD_TYPE_SUN 11 /* Sun Type3/4 */
#define WSKBD_TYPE_SUN5 12 /* Sun Type5 */
#define WSKBD_TYPE_HIL 13 /* HP HIL */
+#define WSKBD_TYPE_GSC 14 /* HP PS/2 */
/* Manipulate the keyboard bell. */
struct wskbd_bell_data {