summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsconsio.h
diff options
context:
space:
mode:
authorJoshua Stein <jcs@cvs.openbsd.org>2018-07-30 15:56:31 +0000
committerJoshua Stein <jcs@cvs.openbsd.org>2018-07-30 15:56:31 +0000
commit6331735aa69799afd86bde4e8aebcc79afa98981 (patch)
tree386f6b9f68801a67e94f25792d06e6f8b14e0f6a /sys/dev/wscons/wsconsio.h
parent558e49033124334a3907f3341a296a800df47860 (diff)
define WSMOUSE_TYPE_TOUCHPAD so non-elantech drivers can stop
claiming to be elantech devices
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 7212e462e06..64478d4efd9 100644
--- a/sys/dev/wscons/wsconsio.h
+++ b/sys/dev/wscons/wsconsio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsconsio.h,v 1.88 2018/05/07 21:58:42 bru Exp $ */
+/* $OpenBSD: wsconsio.h,v 1.89 2018/07/30 15:56:30 jcs Exp $ */
/* $NetBSD: wsconsio.h,v 1.74 2005/04/28 07:15:44 martin Exp $ */
/*
@@ -238,6 +238,7 @@ struct wskbd_encoding_data {
#define WSMOUSE_TYPE_SGI 17 /* SGI serial mouse */
#define WSMOUSE_TYPE_ELANTECH 18 /* Elantech touchpad */
#define WSMOUSE_TYPE_SYNAP_SBTN 19 /* Synaptics soft buttons */
+#define WSMOUSE_TYPE_TOUCHPAD 20 /* Generic touchpad */
/* Set resolution. Not applicable to all mouse types. */
#define WSMOUSEIO_SRES _IOW('W', 33, u_int)