diff options
author | jmz <jmz@FreeBSD.org> | 1995-12-09 17:31:08 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1995-12-09 17:31:08 +0000 |
commit | dbb2efaeb52634d43b6f3be81e367703d05d9bdd (patch) | |
tree | 38e0c6b99f77fddc66158373c27877b27c5b8914 /share | |
parent | 58b47f265a482871063e8e3a461c6c0b31f284ae (diff) | |
download | FreeBSD-src-dbb2efaeb52634d43b6f3be81e367703d05d9bdd.zip FreeBSD-src-dbb2efaeb52634d43b6f3be81e367703d05d9bdd.tar.gz |
ioctl() args are JOY_SETTIMEOUT and JOY_GETTIMEOUT (only 1 underscore)
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/joy.4 | 4 | ||||
-rw-r--r-- | share/man/man4/man4.i386/joy.4 | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man4/joy.4 b/share/man/man4/joy.4 index 2ed006e..3f57ef7 100644 --- a/share/man/man4/joy.4 +++ b/share/man/man4/joy.4 @@ -33,13 +33,13 @@ perl -e 'open(JOY,"/dev/joy0")||die;while(1) Several ioctl() calls are also available. They take an argument of type int * .Bl -tag -width JOY_SET_X_OFFSET -.It Dv JOY_SET_TIMEOUT Fa int *limit +.It Dv JOY_SETTIMEOUT Fa int *limit Set the time limit (in microseconds) for reading the joystick status. Setting a value too small may prevent to get correct values for the positions (which are then set to -2147483648), however this can be useful if one is only interested by the buttons status. -.It Dv JOY_GET_TIMEOUT Fa int *limit +.It Dv JOY_GETTIMEOUT Fa int *limit Get the time limit (in microseconds) used for reading the joystick status. .It Dv JOY_SET_X_OFFSET Fa int *offset diff --git a/share/man/man4/man4.i386/joy.4 b/share/man/man4/man4.i386/joy.4 index 2ed006e..3f57ef7 100644 --- a/share/man/man4/man4.i386/joy.4 +++ b/share/man/man4/man4.i386/joy.4 @@ -33,13 +33,13 @@ perl -e 'open(JOY,"/dev/joy0")||die;while(1) Several ioctl() calls are also available. They take an argument of type int * .Bl -tag -width JOY_SET_X_OFFSET -.It Dv JOY_SET_TIMEOUT Fa int *limit +.It Dv JOY_SETTIMEOUT Fa int *limit Set the time limit (in microseconds) for reading the joystick status. Setting a value too small may prevent to get correct values for the positions (which are then set to -2147483648), however this can be useful if one is only interested by the buttons status. -.It Dv JOY_GET_TIMEOUT Fa int *limit +.It Dv JOY_GETTIMEOUT Fa int *limit Get the time limit (in microseconds) used for reading the joystick status. .It Dv JOY_SET_X_OFFSET Fa int *offset |