summaryrefslogtreecommitdiff
path: root/sbin/wsconsctl/util.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-12-25 22:02:48 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-12-25 22:02:48 +0000
commit710e87a8b56b0f5a75c014957d0240bfc8fbf23d (patch)
treea7311ea8baf928527fb7be594a0ba82f522d31d4 /sbin/wsconsctl/util.c
parente23bb5751d08cfe5b0e8af2a77bf36eb249a3ad4 (diff)
A couple more device types.
Diffstat (limited to 'sbin/wsconsctl/util.c')
-rw-r--r--sbin/wsconsctl/util.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sbin/wsconsctl/util.c b/sbin/wsconsctl/util.c
index ce0f981dd51..a7c055c98b0 100644
--- a/sbin/wsconsctl/util.c
+++ b/sbin/wsconsctl/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.45 2009/07/03 17:37:02 kettenis Exp $ */
+/* $OpenBSD: util.c,v 1.46 2009/12/25 22:02:46 miod Exp $ */
/* $NetBSD: util.c,v 1.8 2000/03/14 08:11:53 sato Exp $ */
/*-
@@ -67,7 +67,9 @@ static const struct nameint kbtype_tab[] = {
{ WSKBD_TYPE_GSC, "hp-ps2" },
{ WSKBD_TYPE_LUNA, "luna" },
{ WSKBD_TYPE_ZAURUS, "zaurus" },
- { WSKBD_TYPE_DOMAIN, "domain" }
+ { WSKBD_TYPE_DOMAIN, "domain" },
+ { WSKBD_TYPE_BLUETOOTH, "bluetooth" },
+ { WSKBD_TYPE_KPC, "kpc" },
};
static const struct nameint mstype_tab[] = {
@@ -83,6 +85,7 @@ static const struct nameint mstype_tab[] = {
{ WSMOUSE_TYPE_HIL, "hil" },
{ WSMOUSE_TYPE_LUNA, "luna" },
{ WSMOUSE_TYPE_DOMAIN, "domain" },
+ { WSMOUSE_TYPE_BLUETOOTH, "bluetooth" },
{ WSMOUSE_TYPE_SUN, "sun" }
};
@@ -148,7 +151,8 @@ static const struct nameint dpytype_tab[] = {
{ WSDISPLAY_TYPE_DL, "displaylink" },
{ WSDISPLAY_TYPE_MACHFB, "mach64" },
{ WSDISPLAY_TYPE_GFXP, "gfxp" },
- { WSDISPLAY_TYPE_RADEONFB, "radeon" }
+ { WSDISPLAY_TYPE_RADEONFB, "radeon" },
+ { WSDISPLAY_TYPE_SMFB, "smfb" }
};
static const struct nameint kbdenc_tab[] = {