Function tetra::input::is_gamepad_button_released[][src]

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

Returns true if the specified gamepad button was released since the last update.

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