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

pub struct GameController { /* fields omitted */ }

Wrapper around the SDL_GameController object

Methods

impl GameController
[src]

[src]

[src]

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

[src]

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

[src]

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

[src]

Return the joystick id of this controller

[src]

Get the position of the given axis

[src]

Returns true if button is pressed.

Trait Implementations

impl Drop for GameController
[src]

[src]

Executes the destructor for this type. Read more