Example #1
0
    static void Init()
    {
        //Debug.Log("init!");
        if (initialised)
        {
            return;
        }
        initialised = true;

        _totalPossibleDeviceSlots = System.Enum.GetValues(typeof(InputDeviceSlot)).Length;

        zeroInputWaits = new float[_totalPossibleDeviceSlots];
        zeroInputs     = new bool[_totalPossibleDeviceSlots];

        _xr = new SinputSystems.XR.SinputXR();
    }
Example #2
0
    public static void Init()
    {
        if (!initialized)
        {
            initialized = true;
        }
        else
        {
            return;
        }
        Debug.Log("Initializing SInput");

        totalPossibleDeviceSlots = Enum.GetValues(typeof(SinputSystems.InputDeviceSlot)).Length;

        zeroInputWaits = new float[totalPossibleDeviceSlots];
        zeroInputs     = new bool[totalPossibleDeviceSlots];

        _xr = new SinputSystems.XR.SinputXR();
    }