mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-23 00:30:17 +00:00
Fixed regression for CTRL+ALT+BREAK (where ALT wasn't recognised). (Fixes #752)
This commit is contained in:
parent
fcd1b2aa68
commit
0f681de531
@ -1420,7 +1420,6 @@ 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
|
||||
@ -1428,7 +1427,9 @@ LRESULT CALLBACK FrameWndProc (
|
||||
// . Ctrl-1: Speed = 1 MHz
|
||||
// . Ctrl-3: Speed = Full-Speed
|
||||
bool keyHandled = false;
|
||||
if( KeybGetCtrlStatus() && wparam >= '0' && wparam <= '9' )
|
||||
if( KeybGetCtrlStatus() &&
|
||||
!KeybGetAltStatus() && // GH#749 - AltGr also fakes CTRL being pressed!
|
||||
wparam >= '0' && wparam <= '9' )
|
||||
{
|
||||
switch (wparam)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user