From bb8d42e9ad1e1f46696f908e462b440b6e90970c Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Tue, 30 Apr 2024 22:01:09 +0200 Subject: [PATCH] Multizone label fix for Strix G16 2024 --- app/AppConfig.cs | 5 +++++ app/Settings.cs | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/app/AppConfig.cs b/app/AppConfig.cs index 7fcc9f028..26d194551 100644 --- a/app/AppConfig.cs +++ b/app/AppConfig.cs @@ -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"); diff --git a/app/Settings.cs b/app/Settings.cs index a07dc2d56..2935100e6 100644 --- a/app/Settings.cs +++ b/app/Settings.cs @@ -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 @@ -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; }