Skip to content

Commit

Permalink
🐛 Razer: Fix random color pulses for V2 lighting.
Browse files Browse the repository at this point in the history
  • Loading branch information
hexawyz committed Sep 29, 2024
1 parent 039b4f5 commit 01a27f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ protected override async Task ApplyEffectAsync(byte profileId, ILightingEffect e
{
DisabledEffect staticColorEffect => transport.SetEffectV2Async(profileId != 0, RazerLightingEffectV2.Disabled, 0, default, default, cancellationToken),
StaticColorEffect staticColorEffect => transport.SetEffectV2Async(profileId != 0, RazerLightingEffectV2.Static, 1, staticColorEffect.Color, staticColorEffect.Color, cancellationToken),
RandomColorPulseEffect => transport.SetEffectV2Async(profileId != 0, RazerLightingEffectV2.Breathing, 3, default, default, cancellationToken),
RandomColorPulseEffect => transport.SetEffectV2Async(profileId != 0, RazerLightingEffectV2.Breathing, 0, default, default, cancellationToken),
ColorPulseEffect colorPulseEffect => transport.SetEffectV2Async(profileId != 0, RazerLightingEffectV2.Breathing, 1, colorPulseEffect.Color, default, cancellationToken),
TwoColorPulseEffect twoColorPulseEffect => transport.SetEffectV2Async(profileId != 0, RazerLightingEffectV2.Breathing, 2, twoColorPulseEffect.Color, twoColorPulseEffect.SecondColor, cancellationToken),
SpectrumCycleEffect => transport.SetEffectV2Async(profileId != 0, RazerLightingEffectV2.SpectrumCycle, 0, default, default, cancellationToken),
Expand Down

0 comments on commit 01a27f1

Please sign in to comment.