/// <summary> /// Set all the LEDs as the same color /// </summary> /// <param name="color"></param> static void SetColor(Corale.Colore.Core.Color color) { for (int i = 0; i < Corale.Colore.Razer.Mousepad.Constants.MaxLeds; ++i) { _mMousepadCustomEffect[i] = color; } Corale.Colore.Core.Mousepad.Instance.SetCustom(_mMousepadCustomEffect); }
static void SetColor(int index, Corale.Colore.Core.Color color) { if (index < 0) { return; } _mMousepadCustomEffect[index] = color; Corale.Colore.Core.Mousepad.Instance.SetCustom(_mMousepadCustomEffect); }