game.input vocabulary
Factor handbook » Vocabulary index


Documentation
Game controller input

Metadata
Parents:game
Tags:games
Authors:Joe Groff


Words

Error classes
ClassSuperclassSlots
Image game-input-not-openImage tuple


Tuple classes
ClassSuperclassSlots
Image controllerImage tuplehandle
Image controller-stateImage tuplex y z rx ry rz slider pov buttons
Image keyboard-stateImage tuplekeys
Image mouse-stateImage tupledx dy scroll-dx scroll-dy buttons


Generic words
WordStack effect
Image (close-game-input)( -- )
Image (open-game-input)( -- )
Image (reset-game-input)( -- )
Image calibrate-controller( controller -- )
Image get-controllers( -- sequence )
Image instance-id( controller -- id )
Image product-id( controller -- id )
Image product-string( controller -- string )
Image read-controller( controller -- controller-state )
Image read-keyboard( -- keyboard-state )
Image read-mouse( -- mouse-state )
Image reset-mouse( -- )
Image vibrate-controller( controller motor1 motor2 -- )


Symbol words
Image game-input-backend
Image game-input-opened
Image pov-down
Image pov-down-left
Image pov-down-right
Image pov-left
Image pov-neutral
Image pov-right
Image pov-up
Image pov-up-left
Image pov-up-right
Image pressed
Image released


Ordinary words
WordStack effect
Image button-delta( old? new? -- delta )
Image buttons-delta( old-buttons new-buttons -- delta )
Image buttons-delta-as( old-buttons new-buttons exemplar -- delta )
Image close-game-input( -- )
Image find-controller-instance( product-id instance-id -- controller/f )
Image find-controller-products( product-id -- sequence )
Image game-input-not-open( -- * )
Image game-input-opened?( -- ? )
Image open-game-input( -- )
Image with-game-input( quot -- )


Class predicate words
WordStack effect
Image controller-state?( object -- ? )
Image controller?( object -- ? )
Image game-input-not-open?( object -- ? )
Image keyboard-state?( object -- ? )
Image mouse-state?( object -- ? )


Files


Metadata files


Children from resource:basis
VocabularySummary
Image game.input.dinputDirectInput backend for game.input
Image game.input.gtk2Linux backend for game input.
Image game.input.iokitIOKit HID Manager backend for game.input
Image game.input.scancodesScan code constants for HID keyboards
Image game.input.x11Linux backend for game input.
Image game.input.xinputXInput backend for game.input, borrows keyboard and mouse handling from game.input.dinput


Children from resource:extra
VocabularySummary
Image game.input.demos