mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-29 08:30:04 +00:00
Suppress AKD support for II and II+ models. (Fixed #116)
This commit is contained in:
parent
0d4be07e7e
commit
a07407c6f8
@ -1402,13 +1402,6 @@ LRESULT CALLBACK FrameWndProc (
|
||||
case WM_KEYUP:
|
||||
KeybSpecialKeyTransition(WM_KEYUP, wparam);
|
||||
|
||||
if (wparam == VK_ESCAPE || wparam == VK_SPACE || wparam == VK_TAB)
|
||||
{
|
||||
char str[40];
|
||||
sprintf(str, "WM_KEYUP: %d\n", wparam);
|
||||
OutputDebugString(str);
|
||||
}
|
||||
|
||||
// Process is done in WM_KEYUP: VK_F1 VK_F2 VK_F3 VK_F4 VK_F5 VK_F6 VK_F7 VK_F8
|
||||
if ((wparam >= VK_F1) && (wparam <= VK_F8) && (buttondown == (int)wparam-VK_F1))
|
||||
{
|
||||
|
@ -466,6 +466,11 @@ BYTE __stdcall KeybReadFlag (WORD, WORD, BYTE, BYTE, ULONG)
|
||||
|
||||
keywaiting = 0;
|
||||
|
||||
if (IS_APPLE2) // Include Pravets machines too?
|
||||
return keycode;
|
||||
|
||||
// AKD
|
||||
|
||||
bool bState = GetKeyState(lastvirtkey) < 0;
|
||||
GetKeyStateOfSpecialAKD(lastvirtkey, bState);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user