Struct ggez::input::GamepadContext
[−]
[src]
pub struct GamepadContext { /* fields omitted */ }
To use gamepads (or joysticks) we need to "open" them and keep them around, so this structure hangs on to their state for us.
Methods
impl GamepadContext
[src]
pub fn new(sdl_context: &Sdl) -> GameResult<Self>
[src]
Create new GamepadContext