summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsmousevar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/wscons/wsmousevar.h')
-rw-r--r--sys/dev/wscons/wsmousevar.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/wscons/wsmousevar.h b/sys/dev/wscons/wsmousevar.h
index 92f2779edec..cc20831bb11 100644
--- a/sys/dev/wscons/wsmousevar.h
+++ b/sys/dev/wscons/wsmousevar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsmousevar.h,v 1.3 2002/03/14 01:27:03 millert Exp $ */
+/* $OpenBSD: wsmousevar.h,v 1.4 2002/03/27 18:54:09 jbm Exp $ */
/* $NetBSD: wsmousevar.h,v 1.4 2000/01/08 02:57:24 takemura Exp $ */
/*
@@ -71,5 +71,8 @@ int wsmousedevprint(void *, const char *);
#define WSMOUSE_INPUT_ABSOLUTE_X (1<<0)
#define WSMOUSE_INPUT_ABSOLUTE_Y (1<<1)
#define WSMOUSE_INPUT_ABSOLUTE_Z (1<<2)
+#define WSMOUSE_INPUT_WSMOUSED_CLOSE (1<<3) /* notify wsmoused(8) to close
+ mouse device */
+
void wsmouse_input(struct device *kbddev, u_int btns,
int x, int y, int z, u_int flags);