This commit is contained in:
seerge
2023-03-05 19:59:07 +01:00
parent 5038ff2315
commit 52b07843a2
6 changed files with 108 additions and 102 deletions

View File

@@ -134,10 +134,12 @@ namespace GHelper
{
string action = config.getConfigString(name);
if (action.Length == 0)
if (action is null || action.Length <= 1)
{
if (name == "m4")
action = "performance";
if (name == "fnf4")
action = "aura";
}
switch (action)
@@ -188,7 +190,7 @@ namespace GHelper
settingsForm.BeginInvoke(settingsForm.CyclePerformanceMode);
return;
case 179: // FN+F4
settingsForm.BeginInvoke(settingsForm.CycleAuraMode);
KeyProcess("fnf4");
return;
}