mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Media hotkeys for G712LU https://github.com/seerge/g-helper/issues/2897
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -291,7 +291,7 @@ namespace GHelper.Input
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (AppConfig.NoAura())
|
if (AppConfig.MediaKeys())
|
||||||
{
|
{
|
||||||
switch (e.Key)
|
switch (e.Key)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user