Handbook
Glossary
<device-controller-state> ( device -- controller-state )
Vocabulary
game
.
input
.
iokit
Inputs
device
an
object
Outputs
controller-state
an
object
Definition
USING:
arrays
combinators
game.input
kernel
;
IN:
game.input.iokit
:
<device-controller-state>
( device -- controller-state )
{
[
?x-axis
[
default-calibrate-axis
0.0
]
(default)
]
[
?y-axis
[
default-calibrate-axis
0.0
]
(default)
]
[
?z-axis
[
default-calibrate-axis
0.0
]
(default)
]
[
?rx-axis
[
default-calibrate-axis
0.0
]
(default)
]
[
?ry-axis
[
default-calibrate-axis
0.0
]
(default)
]
[
?rz-axis
[
default-calibrate-axis
0.0
]
(default)
]
[
?slider
[
default-calibrate-slider
0.0
]
(default)
]
[
?hat-switch
pov-neutral
and
]
[
button-count
f
<array>
]
}
cleave
controller-state
boa
;