internal static void NotifyDeviceDiscovered(NativeInputDeviceInfo deviceInfo)
        {
            NativeDeviceDiscoveredCallback nativeDeviceDiscoveredCallback = NativeInputSystem.onDeviceDiscovered;

            if (nativeDeviceDiscoveredCallback != null)
            {
                nativeDeviceDiscoveredCallback(deviceInfo);
            }
        }
Esempio n. 2
0
        internal static void NotifyDeviceDiscovered(int deviceId, string deviceDescriptor)
        {
            NativeDeviceDiscoveredCallback callback = s_OnDeviceDiscoveredCallback;

            if (callback != null)
            {
                callback(deviceId, deviceDescriptor);
            }
        }
Esempio n. 3
0
        internal static void NotifyDeviceDiscovered(NativeInputDeviceInfo deviceInfo)
        {
            NativeDeviceDiscoveredCallback callback = s_OnDeviceDiscoveredCallback;

            if (callback != null)
            {
                callback(deviceInfo);
            }
        }