internal static void NotifyDeviceDiscovered(NativeInputDeviceInfo deviceInfo) { NativeDeviceDiscoveredCallback nativeDeviceDiscoveredCallback = NativeInputSystem.onDeviceDiscovered; if (nativeDeviceDiscoveredCallback != null) { nativeDeviceDiscoveredCallback(deviceInfo); } }
internal static void NotifyDeviceDiscovered(int deviceId, string deviceDescriptor) { NativeDeviceDiscoveredCallback callback = s_OnDeviceDiscoveredCallback; if (callback != null) { callback(deviceId, deviceDescriptor); } }
internal static void NotifyDeviceDiscovered(NativeInputDeviceInfo deviceInfo) { NativeDeviceDiscoveredCallback callback = s_OnDeviceDiscoveredCallback; if (callback != null) { callback(deviceInfo); } }