Added new switch: '-no-hook-alt' - used to prevent left/right ALT from emulating open/closed apple keys (#583)

This commit is contained in:
tomcw
2018-11-10 15:55:20 +00:00
parent 6fb5b3b0e8
commit 14e0bb7b71
4 changed files with 24 additions and 7 deletions
+4
View File
@@ -1313,6 +1313,10 @@ int APIENTRY WinMain(HINSTANCE passinstance, HINSTANCE, LPSTR lpCmdLine, int)
{
g_bHookAltGrControl = true;
}
else if (strcmp(lpCmdLine, "-no-hook-alt") == 0) // GH#583
{
JoySetHookAltKeys(false);
}
else if (strcmp(lpCmdLine, "-spkr-inc") == 0)
{
lpCmdLine = GetCurrArg(lpNextArg);