summaryrefslogtreecommitdiff
path: root/sbin/wsconsctl
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2012-10-29 11:56:20 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2012-10-29 11:56:20 +0000
commitf50e6651a4137d180047c445d96111e6e877d376 (patch)
treef71515e78d99a3a320f09202f9c3632ab329a193 /sbin/wsconsctl
parent6ee155187d52e27d3ee505be2e652bce6895f30b (diff)
Teach wsconsctl(8) about the elantech mouse type. Diff from shadchin@.
Diffstat (limited to 'sbin/wsconsctl')
-rw-r--r--sbin/wsconsctl/util.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/wsconsctl/util.c b/sbin/wsconsctl/util.c
index b0824aa2acd..33b415d364d 100644
--- a/sbin/wsconsctl/util.c
+++ b/sbin/wsconsctl/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.58 2012/07/14 08:25:12 shadchin Exp $ */
+/* $OpenBSD: util.c,v 1.59 2012/10/29 11:56:19 stsp Exp $ */
/* $NetBSD: util.c,v 1.8 2000/03/14 08:11:53 sato Exp $ */
/*-
@@ -91,7 +91,8 @@ static const struct nameint mstype_tab[] = {
{ WSMOUSE_TYPE_SUN, "sun" },
{ WSMOUSE_TYPE_SYNAPTICS, "synaptics" },
{ WSMOUSE_TYPE_ALPS, "alps" },
- { WSMOUSE_TYPE_SGI, "sgi" }
+ { WSMOUSE_TYPE_SGI, "sgi" },
+ { WSMOUSE_TYPE_ELANTECH, "elantech" },
};
static const struct nameint dpytype_tab[] = {