summaryrefslogtreecommitdiff
path: root/sys/dev/wscons
diff options
context:
space:
mode:
authorAlexandr Shadchin <shadchin@cvs.openbsd.org>2011-05-05 15:30:32 +0000
committerAlexandr Shadchin <shadchin@cvs.openbsd.org>2011-05-05 15:30:32 +0000
commit0ae9efc63f7af80c4d42babd6caa4858beee18ad (patch)
tree8928c47a1fabea39ee73690f17fe773312b7e670 /sys/dev/wscons
parent1b94f4cd23fe81f753edb47704179f6b30a1146e (diff)
synaptics touchpad keep the current (pms) behaviour until WSMOUSEIO_SETMODE
ioctl is issued to switch to synaptics mode. WSMOUSE_COMPAT - behavior conventional mouse (relative mode) (default) WSMOUSE_NATIVE - full power synaptics ok miod@
Diffstat (limited to 'sys/dev/wscons')
-rw-r--r--sys/dev/wscons/wsconsio.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h
index 85cdd7326ee..1c101845d03 100644
--- a/sys/dev/wscons/wsconsio.h
+++ b/sys/dev/wscons/wsconsio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsconsio.h,v 1.62 2011/04/07 15:06:32 shadchin Exp $ */
+/* $OpenBSD: wsconsio.h,v 1.63 2011/05/05 15:30:31 shadchin Exp $ */
/* $NetBSD: wsconsio.h,v 1.74 2005/04/28 07:15:44 martin Exp $ */
/*
@@ -243,6 +243,10 @@ struct wsmouse_calibcoords {
#define WSMOUSEIO_SCALIBCOORDS _IOW('W', 36, struct wsmouse_calibcoords)
#define WSMOUSEIO_GCALIBCOORDS _IOR('W', 37, struct wsmouse_calibcoords)
+#define WSMOUSEIO_SETMODE _IOW('W', 38, int)
+#define WSMOUSE_COMPAT 0
+#define WSMOUSE_NATIVE 1
+
/*
* Display ioctls (64 - 95)
*/