/// <summary> /// Sets the color of all LEDs on the mouse. /// </summary> /// <param name="color">Color to set.</param> public override void Set(Color color) { Set(NativeWrapper.CreateMouseEffect(Led.Logo, new Static { Color = color })); }
/// <summary> /// Sets a custom effect on the mouse. /// </summary> /// <param name="effect">An instance of the <see cref="Custom" /> struct.</param> public void SetCustom(Custom effect) { SetGuid(NativeWrapper.CreateMouseEffect(Effect.Custom, effect)); }
/// <summary> /// Sets a custom grid effect on the mouse. /// </summary> /// <param name="effect">An instance of the <see cref="CustomGrid" /> struct.</param> public void SetGrid(CustomGrid effect) { SetGuid(NativeWrapper.CreateMouseEffect(Effect.CustomGrid, effect)); }
/// <summary> /// Sets a spectrum cycling effect on the mouse. /// </summary> /// <param name="effect">Effect options struct.</param> public void SetSpectrumCycling(SpectrumCycling effect) { SetGuid(NativeWrapper.CreateMouseEffect(Effect.SpectrumCycling, effect)); }
/// <summary> /// Sets a wave effect on the mouse. /// </summary> /// <param name="effect">Effect options struct.</param> public void SetWave(Wave effect) { SetGuid(NativeWrapper.CreateMouseEffect(Effect.Wave, effect)); }
/// <summary> /// Sets a reactive effect on the mouse. /// </summary> /// <param name="effect">Effect options struct.</param> public void SetReactive(Reactive effect) { SetGuid(NativeWrapper.CreateMouseEffect(Effect.Reactive, effect)); }
/// <summary> /// Starts a blinking effect on the specified LED. /// </summary> /// <param name="effect">An instance of the <see cref="Blinking" /> effect.</param> public void SetBlinking(Blinking effect) { SetGuid(NativeWrapper.CreateMouseEffect(Effect.Blinking, effect)); }
/// <summary> /// Sets a static color on the mouse. /// </summary> /// <param name="effect">An instance of the <see cref="Static" /> effect.</param> public void SetStatic(Static effect) { SetGuid(NativeWrapper.CreateMouseEffect(Effect.Static, effect)); }
/// <summary> /// Sets an effect without any parameters. /// Currently, this only works for the <see cref="Effect.None" /> effect. /// </summary> /// <param name="effect">Effect options.</param> public void SetEffect(Effect effect) { SetGuid(NativeWrapper.CreateMouseEffect(effect, IntPtr.Zero)); }
/// <summary> /// Sets a breathing effect on the mouse. /// </summary> /// <param name="effect">An instance of the <see cref="Breathing" /> effect.</param> public void SetBreathing(Breathing effect) { SetGuid(NativeWrapper.CreateMouseEffect(effect)); }