Function bevy_internal::input::gamepad::gamepad_event_system
source · pub fn gamepad_event_system(
gamepad_events: EventReader<'_, '_, GamepadEvent>,
connection_events: EventWriter<'_, GamepadConnectionEvent>,
button_events: EventWriter<'_, GamepadButtonChangedEvent>,
axis_events: EventWriter<'_, GamepadAxisChangedEvent>,
button_input: ResMut<'_, ButtonInput<GamepadButton>>
)
Expand description
Splits the GamepadEvent
event stream into it’s component events.