pub fn gamepad_connection_system(
    gamepads: ResMut<'_, Gamepads>,
    gamepad_event: EventReader<'_, '_, GamepadEvent>
)
Expand description

Monitors gamepad connection and disconnection events, updating the Gamepads resource accordingly

By default, runs during CoreStage::PreUpdate when added via InputPlugin.