summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsconsio.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/wscons/wsconsio.h')
-rw-r--r--sys/dev/wscons/wsconsio.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h
index 5eb555f238b..777f22a2d7e 100644
--- a/sys/dev/wscons/wsconsio.h
+++ b/sys/dev/wscons/wsconsio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsconsio.h,v 1.75 2016/09/14 03:25:51 jcs Exp $ */
+/* $OpenBSD: wsconsio.h,v 1.76 2016/09/30 12:05:46 kettenis Exp $ */
/* $NetBSD: wsconsio.h,v 1.74 2005/04/28 07:15:44 martin Exp $ */
/*
@@ -207,6 +207,12 @@ struct wskbd_backlight {
#define WSKBD_TRANSLATED 0
#define WSKBD_RAW 1
+struct wskbd_encoding_data {
+ int nencodings;
+ kbd_t *encodings;
+};
+#define WSKBDIO_GETENCODINGS _IOWR('W', 21, struct wskbd_encoding_data)
+
/*
* Mouse ioctls (32 - 63)
*/