pub fn gamepad_button_event_system(
    button_changed_events: EventReader<'_, '_, GamepadButtonChangedEvent>,
    button_input: ResMut<'_, ButtonInput<GamepadButton>>,
    button_input_events: EventWriter<'_, GamepadButtonInput>,
    settings: Res<'_, GamepadSettings>
)
Expand description

Uses GamepadButtonChangedEvents to update the relevant ButtonInput and Axis values.