pub fn get_gamepad_buttons_released(
    ctx: &Context,
    gamepad_index: usize
) -> impl Iterator<Item = &GamepadButton>
Expand description

Returns an iterator of the buttons that were released this tick on the specified gamepad.

If the gamepad is disconnected, an empty iterator will be returned.