Parents: | game |
Tags: | games |
Authors: | Joe Groff |
Class | Superclass | Slots |
controller | tuple | handle |
controller-state | tuple | x y z rx ry rz slider pov buttons |
game-input-not-open | tuple | |
keyboard-state | tuple | keys |
mouse-state | tuple | dx dy scroll-dx scroll-dy buttons |
Word | Stack effect |
(close-game-input) | ( -- ) |
(open-game-input) | ( -- ) |
(reset-game-input) | ( -- ) |
calibrate-controller | ( controller -- ) |
get-controllers | ( -- sequence ) |
instance-id | ( controller -- id ) |
product-id | ( controller -- id ) |
product-string | ( controller -- string ) |
read-controller | ( controller -- controller-state ) |
read-keyboard | ( -- keyboard-state ) |
read-mouse | ( -- mouse-state ) |
reset-mouse | ( -- ) |
vibrate-controller | ( controller motor1 motor2 -- ) |
game-input-backend |
game-input-opened |
pov-down |
pov-down-left |
pov-down-right |
pov-left |
pov-neutral |
pov-right |
pov-up |
pov-up-left |
pov-up-right |
pressed |
released |
Word | Stack effect |
button-delta | ( old? new? -- delta ) |
buttons-delta | ( old-buttons new-buttons -- delta ) |
buttons-delta-as | ( old-buttons new-buttons exemplar -- delta ) |
close-game-input | ( -- ) |
find-controller-instance | ( product-id instance-id -- controller/f ) |
find-controller-products | ( product-id -- sequence ) |
game-input-not-open | ( -- * ) |
game-input-opened? | ( -- ? ) |
open-game-input | ( -- ) |
with-game-input | ( quot -- ) |
Word | Stack effect |
controller-state? | ( object -- ? ) |
controller? | ( object -- ? ) |
game-input-not-open? | ( object -- ? ) |
keyboard-state? | ( object -- ? ) |
mouse-state? | ( object -- ? ) |
Vocabulary | Summary |
game.input.dinput | DirectInput backend for game.input |
game.input.gtk2 | Linux backend for game input. |
game.input.iokit | IOKit HID Manager backend for game.input |
game.input.scancodes | Scan code constants for HID keyboards |
game.input.x11 | Linux backend for game input. |
game.input.xinput | XInput backend for game.input, borrows keyboard and mouse handling from game.input.dinput |
Vocabulary | Summary |
game.input.demos |