pub fn detect_gamepads(
available_devices: ResMut<'_, AvailableInputDevices>,
gamepads: Query<'_, '_, Entity, With<Gamepad>>,
)
Expand description
System to detect and track connected gamepads
pub fn detect_gamepads(
available_devices: ResMut<'_, AvailableInputDevices>,
gamepads: Query<'_, '_, Entity, With<Gamepad>>,
)
System to detect and track connected gamepads