summaryrefslogtreecommitdiff
path: root/sys/dev/wscons
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-01-15 01:19:30 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-01-15 01:19:30 +0000
commit8076624d9dfde8b7563d84d44776195d61522ceb (patch)
treef8eb69ec2103afc1313ee850131560350d95b9f6 /sys/dev/wscons
parent5987b29cd61d146aaa789012cc34ddeffd6a0c21 (diff)
Define a new wscons mouse type for Synaptics clickpad devices that lack
physical buttons. This will be used if the acpi pnpid for the mouse matches a list provided by Synaptics found in Linux. Combined with the xenocara changes this will remove the need for an xorg config file for the x240/t440/t540 generation of thinkpads. ok matthieu@ shadchin@ kettenis@
Diffstat (limited to 'sys/dev/wscons')
-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 1e21d20fca2..c027a166fc7 100644
--- a/sys/dev/wscons/wsconsio.h
+++ b/sys/dev/wscons/wsconsio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsconsio.h,v 1.70 2014/12/21 18:25:07 shadchin Exp $ */
+/* $OpenBSD: wsconsio.h,v 1.71 2015/01/15 01:19:29 jsg Exp $ */
/* $NetBSD: wsconsio.h,v 1.74 2005/04/28 07:15:44 martin Exp $ */
/*
@@ -210,6 +210,7 @@ struct wskbd_map_data {
#define WSMOUSE_TYPE_ALPS 16 /* ALPS touchpad */
#define WSMOUSE_TYPE_SGI 17 /* SGI serial mouse */
#define WSMOUSE_TYPE_ELANTECH 18 /* Elantech touchpad */
+#define WSMOUSE_TYPE_SYNAP_SBTN 19 /* Synaptics soft buttons */
/* Set resolution. Not applicable to all mouse types. */
#define WSMOUSEIO_SRES _IOW('W', 33, u_int)