[−][src]Function tetra::input::get_gamepad_buttons_down
pub fn get_gamepad_buttons_down(
ctx: &Context,
gamepad_id: usize
) -> impl Iterator<Item = &GamepadButton>
Returns an iterator of the buttons that are currently down on the specified gamepad.
If the gamepad is disconnected, an empty iterator will be returned.