diff options
author | jbm <jbm@cvs.openbsd.org> | 2002-03-27 18:54:10 +0000 |
---|---|---|
committer | jbm <jbm@cvs.openbsd.org> | 2002-03-27 18:54:10 +0000 |
commit | d4740433243c6484c98ad8fd0e38747c00f346c1 (patch) | |
tree | f39c18c01c179725f35dd68a4b4315853d0ae362 /sys/dev/wscons/wsmousevar.h | |
parent | 7e700aa642609180b1c262e4ba1ac73f6554b5f5 (diff) |
Add X-Window support to wsmoused(8). This allows running wsmoused(8) and
X-Window at the same time, removing the need to kill wsmoused(8) before
starting X-Window.
Diffstat (limited to 'sys/dev/wscons/wsmousevar.h')
-rw-r--r-- | sys/dev/wscons/wsmousevar.h | 5 |
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); |