mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 23:57:54 +01:00
ioctl() args are JOY_SETTIMEOUT and JOY_GETTIMEOUT (only 1 underscore)
This commit is contained in:
parent
dd82b06157
commit
dc15257b81
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12695
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user