Module ggez::input::gamepad

source ·
Expand description

Gamepad utility functions.

This is going to be a bit of a work-in-progress as gamepad input gets fleshed out. The gilrs crate needs help to add better cross-platform support. Why not give it a hand?

Re-exports

Structs

  • Holds information about gamepad event.
  • Represents handle to game controller.
  • A structure that contains gamepad state using gilrs.
  • A unique identifier for a particular gamepad
  • An iterator of the connected gamepads
  • Main object responsible of managing gamepads.

Functions

  • gamepadDeprecated
    Returns the Gamepad associated with an id.
  • gamepadsDeprecated
    Return an iterator of all the Gamepads that are connected.