Module ggez::input [] [src]

Misc. input functions, currently just gamepad stuff.

Structs

GameController

Wrapper around the SDL_GameController object

GamepadContext

before we can use gamepads (or joysticks) we need to "open" them then we have to keep them around, so this structure hangs on to them for us.

Functions

get_gamepad

returns the GameController associated with an instance id. The instance_id can be obtained from GamepadEvents in the EventHandler