[][src]Function tetra::input::get_gamepad_buttons_released

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

Returns an iterator of the buttons that were released on the specified gamepad since the last update .

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