//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); }
//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); }
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); }
public static extern void Set_LED_ExternalFan_Info(InteropLedInfo ledInfo);