diff options
author | 2001-02-05 23:39:01 +0000 | |
---|---|---|
committer | 2001-02-05 23:39:01 +0000 | |
commit | b567e40cace22adbbb72b858cdca43339003458c (patch) | |
tree | 5481e0cabd3e51df9d61df8c0197d08cf29db625 | |
parent | when flags are FLG_WRONLY, say "write only" instead of "read only" (diff) | |
download | wireguard-openbsd-b567e40cace22adbbb72b858cdca43339003458c.tar.xz wireguard-openbsd-b567e40cace22adbbb72b858cdca43339003458c.zip |
WSMOUSEIO_SRES, WSMOUSEIO_SSCALE and WSMOUSEIO_SRATE are _IOW(), not _IOR()
-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 |