mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +00:00
Keyboard: Refactor for GetKeyState()
This commit is contained in:
@@ -780,7 +780,7 @@ Update_t CmdBenchmarkStop (int nArgs)
|
||||
DWORD currtime = GetTickCount();
|
||||
while ((extbench = GetTickCount()) != currtime)
|
||||
; // intentional busy-waiting
|
||||
KeybQueueKeypress(TEXT(' '),1);
|
||||
KeybQueueKeypress(TEXT(' ') ,ASCII);
|
||||
|
||||
return UPDATE_ALL; // 0;
|
||||
}
|
||||
@@ -2096,7 +2096,7 @@ Update_t CmdUnassemble (int nArgs)
|
||||
Update_t CmdKey (int nArgs)
|
||||
{
|
||||
KeybQueueKeypress(
|
||||
nArgs ? g_aArgs[1].nValue ? g_aArgs[1].nValue : g_aArgs[1].sArg[0] : TEXT(' '), 1); // FIXME!!!
|
||||
nArgs ? g_aArgs[1].nValue ? g_aArgs[1].nValue : g_aArgs[1].sArg[0] : TEXT(' '), ASCII); // FIXME!!!
|
||||
return UPDATE_CONSOLE_DISPLAY;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user