diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-08-01 13:51:20 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-08-01 13:51:20 +0000 |
commit | e6c966b615696f7a8f4d3c2c3fda5dcaed7d3f67 (patch) | |
tree | 42de716832f0c4a3c4e616390572a4a8d679dbd2 /sys/dev/wscons/wsmousevar.h | |
parent | 389a0a4582e6890e967b7827708a1462222bcaf5 (diff) |
update wscons, nothing serious, mostly api fixes for us; from netbsd through aaron@
Diffstat (limited to 'sys/dev/wscons/wsmousevar.h')
-rw-r--r-- | sys/dev/wscons/wsmousevar.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/dev/wscons/wsmousevar.h b/sys/dev/wscons/wsmousevar.h index f6d7583ef27..885fdb8fb59 100644 --- a/sys/dev/wscons/wsmousevar.h +++ b/sys/dev/wscons/wsmousevar.h @@ -1,5 +1,5 @@ -/* $OpenBSD: wsmousevar.h,v 1.1 2000/05/16 23:49:12 mickey Exp $ */ -/* $NetBSD: wsmousevar.h,v 1.3 1999/07/29 18:20:03 augustss Exp $ */ +/* $OpenBSD: wsmousevar.h,v 1.2 2000/08/01 13:51:18 mickey Exp $ */ +/* $NetBSD: wsmousevar.h,v 1.4 2000/01/08 02:57:24 takemura Exp $ */ /* * Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved. @@ -57,7 +57,6 @@ struct wsmousedev_attach_args { void *accesscookie; /* access cookie */ }; -#define WSMOUSEDEVCF_MUX 0 #define wsmousedevcf_mux cf_loc[WSMOUSEDEVCF_MUX] /* @@ -68,9 +67,9 @@ int wsmousedevprint __P((void *, const char *)); /* * Callbacks from the mouse driver to the wsmouse interface driver. */ -#define WSMOUSE_INPUT_DELTA 0x00 -#define WSMOUSE_INPUT_ABSOLUTE_X 0x01 -#define WSMOUSE_INPUT_ABSOLUTE_Y 0x02 -#define WSMOUSE_INPUT_ABSOLUTE_Z 0x04 +#define WSMOUSE_INPUT_DELTA 0 +#define WSMOUSE_INPUT_ABSOLUTE_X (1<<0) +#define WSMOUSE_INPUT_ABSOLUTE_Y (1<<1) +#define WSMOUSE_INPUT_ABSOLUTE_Z (1<<2) void wsmouse_input __P((struct device *kbddev, u_int btns, int x, int y, int z, u_int flags)); |