Function bevy_input::gamepad::gamepad_axis_event_system
source · pub fn gamepad_axis_event_system(
gamepad_axis: ResMut<'_, Axis<GamepadAxis>>,
axis_events: EventReader<'_, '_, GamepadAxisChangedEvent>
)
Expand description
Uses GamepadAxisChangedEvent
s to update the relevant ButtonInput
and Axis
values.