mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Hotkey handling only when Optimization service is not running
This commit is contained in:
@@ -707,9 +707,6 @@ namespace GHelper.Input
|
|||||||
case 55: // Arconym
|
case 55: // Arconym
|
||||||
KeyProcess("m6");
|
KeyProcess("m6");
|
||||||
return;
|
return;
|
||||||
case 136: // FN + F12
|
|
||||||
if (!AppConfig.IsNoAirplaneMode()) Program.acpi.DeviceSet(AsusACPI.UniversalControl, AsusACPI.Airplane, "Airplane");
|
|
||||||
return;
|
|
||||||
case 181: // FN + Numpad Enter
|
case 181: // FN + Numpad Enter
|
||||||
KeyProcess("fne");
|
KeyProcess("fne");
|
||||||
return;
|
return;
|
||||||
@@ -726,12 +723,6 @@ namespace GHelper.Input
|
|||||||
case 158: // Fn + C
|
case 158: // Fn + C
|
||||||
KeyProcess("fnc");
|
KeyProcess("fnc");
|
||||||
return;
|
return;
|
||||||
case 78: // Fn + ESC
|
|
||||||
ToggleFnLock();
|
|
||||||
return;
|
|
||||||
case 75: // Fn + Arrow Lock
|
|
||||||
ToggleArrowLock();
|
|
||||||
return;
|
|
||||||
case 189: // Tablet mode
|
case 189: // Tablet mode
|
||||||
TabletMode();
|
TabletMode();
|
||||||
return;
|
return;
|
||||||
@@ -821,6 +812,15 @@ namespace GHelper.Input
|
|||||||
case 126: // Fn+F8 emojis popup
|
case 126: // Fn+F8 emojis popup
|
||||||
KeyboardHook.KeyKeyPress(Keys.LWin, Keys.OemSemicolon);
|
KeyboardHook.KeyKeyPress(Keys.LWin, Keys.OemSemicolon);
|
||||||
return;
|
return;
|
||||||
|
case 78: // Fn + ESC
|
||||||
|
ToggleFnLock();
|
||||||
|
return;
|
||||||
|
case 75: // Fn + Arrow Lock
|
||||||
|
ToggleArrowLock();
|
||||||
|
return;
|
||||||
|
case 136: // FN + F12
|
||||||
|
if (!AppConfig.IsNoAirplaneMode()) Program.acpi.DeviceSet(AsusACPI.UniversalControl, AsusACPI.Airplane, "Airplane");
|
||||||
|
return;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user