game.input.demos.joysticks vocabulary
Factor handbook > Vocabulary index


Summary
Demonstrate gamepad and joystick input

Meta-data
Tags:games
Authors:Joe Groff


Words

Tuple classes
ClassSuperclassSlots
axis-gadget gadgetindicator z-indicator pov
joystick-demo-gadget packaxis raxis controller buttons timer


Ordinary words
WordStack effect
(>loc)( axisloc -- windowloc )
(add-button-gadgets)( gadget shelf -- )
(rect-polygon)( lo hi -- polygon )
(update-axes)( gadget controller-state -- )
(xy>loc)( x y -- xyloc )
(xyz>loc)( x y z -- xyloc zloc )
(z>loc)( z -- zloc )
<axis-gadget>( -- gadget )
<indicator-gadget>( color -- indicator )
<joystick-demo-gadget>( controller -- gadget )
FREQUENCY( -- f )
INDICATOR-SIZE( -- value )
SIZE( -- value )
add-axis-gadget( gadget shelf -- gadget shelf )
add-button-gadgets( gadget shelf -- gadget shelf )
add-controller-label( gadget controller -- gadget )
add-gadget-with-border( parent child -- parent )
add-pov-gadget( gadget direction polygon -- gadget direction gadget )
add-pov-gadgets( gadget -- gadget )
add-raxis-gadget( gadget shelf -- gadget shelf )
indicator-polygon( -- polygon )
joystick-demo( -- )
joystick-window( controller -- )
kill-update-axes( gadget -- )
move-axis( gadget x y z -- )
move-pov( gadget pov -- )
pov-polygons( -- value )
update-axes( gadget -- )
update-buttons( buttons button-states -- )


Class predicate words
WordStack effect
axis-gadget?( object -- ? )
joystick-demo-gadget?( object -- ? )


Files