Exemple #1
0
        //Sets the LEDs to fade across the color spectrum at an undefined rate
        public void SetCrossFade()
        {
            InteropLedInfo data = new InteropLedInfo();

            data.ChangeState = 0x01;
            data.Mode        = LightingMode.CrossfadeColorSpectrum;
            Set_LED_ExternalFan_Info(data);
        }
Exemple #2
0
        //Turns the LEDs off
        public void DisableLights()
        {
            InteropLedInfo data = new InteropLedInfo();

            data.Unknown4    = 0x01;
            data.Color.Red   = 0x00;
            data.Color.Green = 0x00;
            data.Color.Blue  = 0x00;
            data.ChangeState = 0x01;
            data.Mode        = LightingMode.Static;
            Set_LED_ExternalFan_Info(data);
        }
Exemple #3
0
        public void SetColor(byte red, byte green, byte blue, LightingMode lightingMode = LightingMode.Static)
        {
            InteropLedInfo data = new InteropLedInfo();

            data.Unknown4    = 0x01;
            data.Color.Red   = red;
            data.Color.Green = green;
            data.Color.Blue  = blue;
            data.ChangeState = 0x01;
            data.Mode        = lightingMode;
            Set_LED_ExternalFan_Info(data);
        }
Exemple #4
0
 public static extern void Set_LED_ExternalFan_Info(InteropLedInfo ledInfo);