Struct ggez::input::GameController[][src]

pub struct GameController { /* fields omitted */ }

Wrapper around the SDL_GameController object


impl GameController

Return the name of the controller or an empty string if no name is found.

Return a String describing the controller's button and axis mappings

Return true if the controller has been opened and currently connected.

Return the joystick instance id of this controller

Get the position of the given axis

Returns true if button is pressed.

Trait Implementations

impl Drop for GameController

Executes the destructor for this type. Read more

Auto Trait Implementations