Skip airplane mode command for ancient devices https://github.com/seerge/g-helper/issues/2052

This commit is contained in:
Serge
2024-02-10 22:53:22 +01:00
parent 03f7d717b6
commit af9d3eb50e
2 changed files with 6 additions and 1 deletions

View File

@@ -638,7 +638,7 @@ namespace GHelper.Input
KeyProcess("m6");
return;
case 136: // FN + F12
Program.acpi.DeviceSet(AsusACPI.UniversalControl, AsusACPI.Airplane, "Airplane");
if (!AppConfig.IsNoAirplaneMode()) Program.acpi.DeviceSet(AsusACPI.UniversalControl, AsusACPI.Airplane, "Airplane");
return;
case 181: // FN + Numpad Enter
KeyProcess("fne");