We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ba64b2 commit c93bcdbCopy full SHA for c93bcdb
1 file changed
Packages/com.unity.inputsystem/InputSystem/InputManager.cs
@@ -2519,6 +2519,12 @@ private unsafe void InitializeDeviceState(InputDevice device)
2519
2520
private void OnNativeDeviceDiscovered(int deviceId, string deviceDescriptor)
2521
{
2522
+ var deviceTag = InputDeviceDescription.FromJson(deviceDescriptor).product;
2523
+
2524
+ Debug.Log($"OnNativeDeviceDiscovered {deviceTag}");
2525
2526
+ NativeInputSystem.LogDeviceConnectedInsight( deviceTag );
2527
2528
// Make sure we're not adding to m_AvailableDevices before we restored what we
2529
// had before a domain reload.
2530
RestoreDevicesAfterDomainReloadIfNecessary();
0 commit comments