Module ggez::input[][src]

Misc. input functions, currently just for handling gamepads.

Structs

GameController

Wrapper around the SDL_GameController object

GamepadContext

To use gamepads (or joysticks) we need to "open" them and keep them around, so this structure hangs on to their state for us.

Functions

get_gamepad

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