summaryrefslogtreecommitdiffstats
path: root/share/man/man4/mouse.4
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>1999-11-09 12:18:10 +0000
committeryokota <yokota@FreeBSD.org>1999-11-09 12:18:10 +0000
commit2763a88177c6820fbbbd35c0944e714389a3bade (patch)
tree1a1f0b59f24aff9686c1ec6d6a6743150b51de59 /share/man/man4/mouse.4
parent90c376234763edd78b615eaa2a2f38c6cc1edaa1 (diff)
downloadFreeBSD-src-2763a88177c6820fbbbd35c0944e714389a3bade.zip
FreeBSD-src-2763a88177c6820fbbbd35c0944e714389a3bade.tar.gz
Fix typo: MOUSE_GETSTAT -> MOUSE_GETSTATUS.
Found by: abial
Diffstat (limited to 'share/man/man4/mouse.4')
-rw-r--r--share/man/man4/mouse.46
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man4/mouse.4 b/share/man/man4/mouse.4
index 5768236..c9db17c 100644
--- a/share/man/man4/mouse.4
+++ b/share/man/man4/mouse.4
@@ -316,7 +316,7 @@ The command reads the raw state data from the device.
It uses the same structure as above.
This command may not be supported by all drivers.
.Pp
-.It Dv MOUSE_GETSTATE Ar mousestatus_t *status
+.It Dv MOUSE_GETSTATUS Ar mousestatus_t *status
The command returns the current state of buttons and
movement counts in the following structure.
.Bd -literal
@@ -344,7 +344,7 @@ through
The first three buttons correspond to left, middle and right buttons.
.Pp
If the state of the button has changed since the last
-.Dv MOUSE_GETSTATE
+.Dv MOUSE_GETSTATUS
call, the corresponding bit in the
.Dv flags
field will be set.
@@ -355,7 +355,7 @@ bit in the
field will also be set.
.Pp
The other fields hold movement counts since the last
-.Dv MOUSE_GETSTATE
+.Dv MOUSE_GETSTATUS
call. The internal counters will be reset after every call to this
command.
.El
OpenPOWER on IntegriCloud