Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Packages/com.unity.inputsystem/InputSystem/InputManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2526,6 +2526,12 @@ private unsafe void InitializeDeviceState(InputDevice device)

private void OnNativeDeviceDiscovered(int deviceId, string deviceDescriptor)
{
var deviceTag = InputDeviceDescription.FromJson(deviceDescriptor).product;

Debug.Log($"OnNativeDeviceDiscovered {deviceTag}");

NativeInputSystem.LogDeviceConnectedInsight( deviceTag );

// Make sure we're not adding to m_AvailableDevices before we restored what we
// had before a domain reload.
RestoreDevicesAfterDomainReloadIfNecessary();
Expand Down
Loading