Skip to content

Commit

Permalink
Multizone label fix for Strix G16 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Apr 30, 2024
1 parent a1a317d commit bb8d42e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/AppConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,11 @@ public static bool IsStrix()
return ContainsModel("Strix") || ContainsModel("Scar") || ContainsModel("G703G");
}

public static bool IsScar16()
{
return ContainsModel("G614") || ContainsModel("G634");
}

public static bool IsStrixLimitedRGB()
{
return (ContainsModel("G614JV_") || ContainsModel("G614JZ") || ContainsModel("G512LI") || ContainsModel("G513R") || ContainsModel("G713PV") || ContainsModel("G513IE") || ContainsModel("G713RC") || ContainsModel("G513QM") || ContainsModel("G531G")) && !Is("per_key_rgb");
Expand Down
7 changes: 6 additions & 1 deletion app/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,11 @@ public void VisualiseScreen(bool screenEnabled, bool screenAuto, int frequency,
{
buttonMiniled.Enabled = !hdr;

if (AppConfig.IsScar16())
{
miniled2 = miniled2 > 2 ? 0 : miniled2 + 1;
}

switch (miniled2)
{
// Multizone On
Expand All @@ -1249,7 +1254,7 @@ public void VisualiseScreen(bool screenEnabled, bool screenAuto, int frequency,
// Multizone Off
case 2:
buttonMiniled.Text = hdr ? Properties.Strings.Multizone : Properties.Strings.OneZone;
buttonMiniled.BorderColor = colorStandard;
buttonMiniled.BorderColor = colorTurbo;
buttonMiniled.Activated = hdr;
break;
}
Expand Down

0 comments on commit bb8d42e

Please sign in to comment.