summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsconsio.h
diff options
context:
space:
mode:
authorAlexandr Shadchin <shadchin@cvs.openbsd.org>2014-12-21 18:25:08 +0000
committerAlexandr Shadchin <shadchin@cvs.openbsd.org>2014-12-21 18:25:08 +0000
commit69181e6a1235c008e9881ced488348b93a269b9d (patch)
treee68952e9d9151fa153088f76cc1e029fda261aa9 /sys/dev/wscons/wsconsio.h
parent3c23edb025e4a5ccd76b40316ee327388a55966d (diff)
WSCONS_EVENT_WSMOUSED_SLEEP and WSCONS_EVENT_WSMOUSED_CLOSE not used anymore.
ok mpi@
Diffstat (limited to 'sys/dev/wscons/wsconsio.h')
-rw-r--r--sys/dev/wscons/wsconsio.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h
index 5c78701cfcb..1e21d20fca2 100644
--- a/sys/dev/wscons/wsconsio.h
+++ b/sys/dev/wscons/wsconsio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsconsio.h,v 1.69 2013/11/17 13:41:26 kettenis Exp $ */
+/* $OpenBSD: wsconsio.h,v 1.70 2014/12/21 18:25:07 shadchin Exp $ */
/* $NetBSD: wsconsio.h,v 1.74 2005/04/28 07:15:44 martin Exp $ */
/*
@@ -87,9 +87,6 @@ struct wscons_event {
*/
#define WSCONS_EVENT_WSMOUSED_ON 12 /* wsmoused(8) active */
#define WSCONS_EVENT_WSMOUSED_OFF 13 /* wsmoused(8) inactive */
-#define WSCONS_EVENT_WSMOUSED_SLEEP 14 /* wsmoused(8) sleeping */
-#define WSCONS_EVENT_WSMOUSED_CLOSE 15 /* notify wsmoused(8) to close
- mouse device */
#define IS_MOTION_EVENT(type) (((type) == WSCONS_EVENT_MOUSE_DELTA_X) || \
((type) == WSCONS_EVENT_MOUSE_DELTA_Y) || \
@@ -98,8 +95,7 @@ struct wscons_event {
#define IS_BUTTON_EVENT(type) (((type) == WSCONS_EVENT_MOUSE_UP) || \
((type) == WSCONS_EVENT_MOUSE_DOWN))
#define IS_CTRL_EVENT(type) ((type == WSCONS_EVENT_WSMOUSED_ON) || \
- (type == WSCONS_EVENT_WSMOUSED_OFF)|| \
- (type == WSCONS_EVENT_WSMOUSED_SLEEP))
+ (type == WSCONS_EVENT_WSMOUSED_OFF))
/*
* Keyboard ioctls (0 - 31)