This commit is contained in:
Serge
2024-08-03 12:18:09 +02:00
parent ceaa8c4110
commit 950d082fc3
3 changed files with 7 additions and 2 deletions

View File

@@ -395,6 +395,11 @@ public static class AppConfig
return ContainsModel("GA401I") && !ContainsModel("GA401IHR"); return ContainsModel("GA401I") && !ContainsModel("GA401IHR");
} }
public static bool MediaKeys()
{
return NoAura() || ContainsModel("G712LU");
}
public static bool IsSingleColor() public static bool IsSingleColor()
{ {
return ContainsModel("GA401") || ContainsModel("FX517Z") || ContainsModel("FX516P") || ContainsModel("X13") || IsARCNM() || ContainsModel("GA502IU"); return ContainsModel("GA401") || ContainsModel("FX517Z") || ContainsModel("FX516P") || ContainsModel("X13") || IsARCNM() || ContainsModel("GA502IU");

View File

@@ -203,7 +203,7 @@ namespace GHelper
labelFNF4.Visible = comboFNF4.Visible = textFNF4.Visible = false; labelFNF4.Visible = comboFNF4.Visible = textFNF4.Visible = false;
} }
if (AppConfig.NoAura()) if (AppConfig.MediaKeys())
{ {
labelFNF4.Visible = comboFNF4.Visible = textFNF4.Visible = false; labelFNF4.Visible = comboFNF4.Visible = textFNF4.Visible = false;
} }

View File

@@ -291,7 +291,7 @@ namespace GHelper.Input
} }
} }
if (AppConfig.NoAura()) if (AppConfig.MediaKeys())
{ {
switch (e.Key) switch (e.Key)
{ {