Function tetra::input::is_gamepad_button_up[][src]

pub fn is_gamepad_button_up(
    ctx: &Context,
    gamepad_id: usize,
    button: GamepadButton
) -> bool

Returns true if the specified gamepad button is currently up.

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