Speed control using Ctrl+n: ignore if ALT is pressed. (Fixes #749)

This commit is contained in:
tomcw 2020-01-18 17:15:54 +00:00
parent 192fa9bc91
commit 53342d5550
1 changed files with 1 additions and 0 deletions

View File

@ -1420,6 +1420,7 @@ LRESULT CALLBACK FrameWndProc (
LogOutput("WM_KEYDOWN: %08X (scanCode=%04X)\n", wparam, (lparam>>16)&0xfff);
#endif
if (!IsJoyKey &&
!KeybGetAltStatus() && // GH#749 - AltGr also fakes CTRL being pressed!
(g_nAppMode != MODE_LOGO)) // !MODE_LOGO - not emulating so don't pass to the VM's keyboard
{
// GH#678 Alternate key(s) to toggle max speed