Пример #1
0
    private void SetEffectNoneOnAll()
    {
        if (!this._mConnectionManager.Connected)
        {
            Debug.LogError("Chroma client is not yet connected!");
            return;
        }
        ChromaApi apiChromaInstance = this._mConnectionManager.ApiChromaInstance;

        ChromaExample01.LogResult("PutChromaLinkNone:", apiChromaInstance.PutChromaLinkNone());
        ChromaExample01.LogResult("PutHeadsetNone:", apiChromaInstance.PutHeadsetNone());
        ChromaExample01.LogResult("PutKeyboardNone:", apiChromaInstance.PutKeyboardNone());
        ChromaExample01.LogResult("PutKeypadNone:", apiChromaInstance.PutKeypadNone());
        ChromaExample01.LogResult("PutMouseNone:", apiChromaInstance.PutMouseNone());
        ChromaExample01.LogResult("PutMousepadNone:", apiChromaInstance.PutMousepadNone());
    }
Пример #2
0
    /// <summary>
    /// Clear effect on all devices using PUT
    /// </summary>
    void SetEffectNoneOnAll()
    {
        if (!_mConnectionManager.Connected)
        {
            Debug.LogError("Chroma client is not yet connected!");
            return;
        }

        ChromaApi chromaApi = _mConnectionManager.ApiChromaInstance;

        LogResult("PutChromaLinkNone:", chromaApi.PutChromaLinkNone());
        LogResult("PutHeadsetNone:", chromaApi.PutHeadsetNone());
        LogResult("PutKeyboardNone:", chromaApi.PutKeyboardNone());
        LogResult("PutKeypadNone:", chromaApi.PutKeypadNone());
        LogResult("PutMouseNone:", chromaApi.PutMouseNone());
        LogResult("PutMousepadNone:", chromaApi.PutMousepadNone());
    }