diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2001-02-05 23:39:02 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2001-02-05 23:39:02 +0000 |
commit | 89dfa6867780b9bf05b6e1430441a75acca409cd (patch) | |
tree | 791f869d0455382e8de7a027d91293e9e6f65605 /sys/dev/wscons/wsconsio.h | |
parent | 7d39a837baecd4f28156db941dc797c36e3bbb0f (diff) |
WSMOUSEIO_SRES, WSMOUSEIO_SSCALE and WSMOUSEIO_SRATE are _IOW(), not _IOR()
Diffstat (limited to 'sys/dev/wscons/wsconsio.h')
-rw-r--r-- | sys/dev/wscons/wsconsio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h index 352bfc9ec58..a268c69c7ca 100644 --- a/sys/dev/wscons/wsconsio.h +++ b/sys/dev/wscons/wsconsio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wsconsio.h,v 1.3 2000/08/01 13:51:17 mickey Exp $ */ +/* $OpenBSD: wsconsio.h,v 1.4 2001/02/05 23:39:01 matthieu Exp $ */ /* $NetBSD: wsconsio.h,v 1.31.2.1 2000/07/07 09:49:17 hannken Exp $ */ /* @@ -165,16 +165,16 @@ struct wskbd_map_data { #define WSMOUSE_TYPE_ARCHIMEDES 8 /* Archimedes mouse */ /* Set resolution. Not applicable to all mouse types. */ -#define WSMOUSEIO_SRES _IOR('W', 33, u_int) +#define WSMOUSEIO_SRES _IOW('W', 33, u_int) #define WSMOUSE_RES_MIN 0 #define WSMOUSE_RES_DEFAULT 75 #define WSMOUSE_RES_MAX 100 /* Set scale factor (num / den). Not applicable to all mouse types. */ -#define WSMOUSEIO_SSCALE _IOR('W', 34, u_int[2]) +#define WSMOUSEIO_SSCALE _IOW('W', 34, u_int[2]) /* Set sample rate. Not applicable to all mouse types. */ -#define WSMOUSEIO_SRATE _IOR('W', 35, u_int) +#define WSMOUSEIO_SRATE _IOW('W', 35, u_int) #define WSMOUSE_RATE_MIN 0 #define WSMOUSE_RATE_DEFAULT 50 #define WSMOUSE_RATE_MAX 100 |