Function tetra::input::is_gamepad_button_released
source · pub fn is_gamepad_button_released(
ctx: &Context,
gamepad_index: usize,
button: GamepadButton
) -> bool
Expand description
Returns true if the specified gamepad button was released this tick.
If the gamepad is disconnected, this will always return false
.