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]
impl GamepadContext
pub fn new(sdl_context: &Sdl) -> GameResult<Self>
[src]
pub fn new(sdl_context: &Sdl) -> GameResult<Self>
Create new GamepadContext
Trait Implementations
impl Debug for GamepadContext
[src]
impl Debug for GamepadContext
Auto Trait Implementations
impl !Send for GamepadContext
impl !Send for GamepadContext
impl !Sync for GamepadContext
impl !Sync for GamepadContext