summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsksymdef.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-08-01 13:51:20 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-08-01 13:51:20 +0000
commite6c966b615696f7a8f4d3c2c3fda5dcaed7d3f67 (patch)
tree42de716832f0c4a3c4e616390572a4a8d679dbd2 /sys/dev/wscons/wsksymdef.h
parent389a0a4582e6890e967b7827708a1462222bcaf5 (diff)
update wscons, nothing serious, mostly api fixes for us; from netbsd through aaron@
Diffstat (limited to 'sys/dev/wscons/wsksymdef.h')
-rw-r--r--sys/dev/wscons/wsksymdef.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/wscons/wsksymdef.h b/sys/dev/wscons/wsksymdef.h
index 0a1b1472fbb..cd69d8efe0e 100644
--- a/sys/dev/wscons/wsksymdef.h
+++ b/sys/dev/wscons/wsksymdef.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: wsksymdef.h,v 1.2 2000/06/30 05:32:12 mickey Exp $ */
-/* $NetBSD: wsksymdef.h,v 1.32 2000/05/13 12:16:35 bjh21 Exp $ */
+/* $OpenBSD: wsksymdef.h,v 1.3 2000/08/01 13:51:18 mickey Exp $ */
+/* $NetBSD: wsksymdef.h,v 1.34.4.1 2000/07/07 09:49:54 hannken Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -455,11 +455,11 @@
(((k) & 0xf800) == 0xf000 ? ((k) & 0x00ff) : (k)))
/*
- * Keyboard types: 8bit encoding, 8bit variant
+ * Keyboard types: 8bit encoding, 24bit variant
*/
-#define KB_ENCODING(e) ((e) & 0xff00)
-#define KB_VARIANT(e) ((e) & 0x00ff)
+#define KB_ENCODING(e) ((e) & 0x0000ff00)
+#define KB_VARIANT(e) ((e) & 0xffff00ff)
#define KB_USER 0x0100
#define KB_US 0x0200