Struct glfw::GamepadState [−][src]
pub struct GamepadState { /* fields omitted */ }
State of a gamepad.
Implementations
impl GamepadState
[src]
impl GamepadState
[src]pub fn get_button_state(&self, button: GamepadButton) -> Action
[src]
pub fn get_axis(&self, axis: GamepadAxis) -> f32
[src]
Trait Implementations
impl From<GLFWgamepadstate> for GamepadState
[src]
impl From<GLFWgamepadstate> for GamepadState
[src]