Function ggez::input::gamepad::gamepad

source ·
pub fn gamepad(ctx: &Context, id: GamepadId) -> Gamepad<'_>
👎Deprecated since 0.8.0: Use ctx.gamepad.gamepad instead
Expand description

Returns the Gamepad associated with an id.