Beispiel #1
0
        public void DisableForceFeedback()
        {
#if UNITY_STANDALONE_WIN
            UnityFFBNative.StopDirectInput();
            ffbEnabled           = false;
            constantForceEnabled = false;
            devices          = new DeviceInfo[0];
            activeDevice     = null;
            axes             = new DeviceAxisInfo[0];
            springConditions = new DICondition[0];
#endif
        }