pub fn is_gamepad_button_down(
    ctx: &Context,
    gamepad_index: usize,
    button: GamepadButton
) -> bool
Expand description

Returns true if the specified gamepad button is currently down.

If the gamepad is disconnected, this will always return false.