Handbook
Glossary
calibrate-controller ( controller -- )
Game controller input
Prev:
instance-id ( controller -- id )
Next:
read-controller ( controller -- controller-state )
Vocabulary
game
.
input
Inputs
controller
a
controller
Outputs
None
Word description
Invokes the operating system's calibration tool for
controller
. If the operating system does not have a calibration tool, this word does nothing.
Definition
IN:
game.input
HOOK:
calibrate-controller
game-input-backend
( controller -- )
Methods
USING:
game.input
game.input.iokit
kernel
;
M:
iokit-game-input-backend
calibrate-controller
drop
;