From 89dfa6867780b9bf05b6e1430441a75acca409cd Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Mon, 5 Feb 2001 23:39:02 +0000 Subject: WSMOUSEIO_SRES, WSMOUSEIO_SSCALE and WSMOUSEIO_SRATE are _IOW(), not _IOR() --- sys/dev/wscons/wsconsio.h | 8 ++++---- 1 file 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 -- cgit v1.2.3