Function detect_gamepads

Source
pub fn detect_gamepads(
    available_devices: ResMut<'_, AvailableInputDevices>,
    gamepads: Query<'_, '_, Entity, With<Gamepad>>,
)
Expand description

System to detect and track connected gamepads