Handbook
Glossary
joystick-demo-gadget
Vocabulary
game
.
input
.
demos
.
joysticks
Definition
USING:
ui.gadgets.packs
;
IN:
game.input.demos.joysticks
TUPLE:
joystick-demo-gadget
<
pack
axis raxis controller buttons timer
;
Methods
USING:
accessors
game.input.demos.joysticks
kernel
timers
ui.gadgets
;
M:
joystick-demo-gadget
graft*
dup
[
update-axes
]
curry
FREQUENCY
every
>>timer
drop
;
USING:
accessors
game.input.demos.joysticks
kernel
timers
ui.gadgets
;
M:
joystick-demo-gadget
ungraft*
timer>>
[
stop-timer
]
when*
;