Struct ggez::input::GamepadContext
[−]
[src]
pub struct GamepadContext { /* fields omitted */ }
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.
Methods
impl GamepadContext
[src]
fn new(sdl_context: &Sdl) -> GameResult<Self>
[src]
Create new GamepadContext