1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-24 02:02:17 -05:00

MML: SendKeys (win), Removed a WriteLn and added a small check.

This commit is contained in:
John P (Dgby714) 2011-07-23 18:01:13 -04:00
parent 8acb244ec3
commit 2faecb4966

View File

@ -380,8 +380,8 @@ begin
Shift := (Hi(VK) > 0);
C := LoByte(VK);
ScanCode := MapVirtualKey(C, 0);
WriteLn(ScanCode);
if (ScanCode = 0) then
Continue;
if (Shift) then
Keybd_Event(VK_SHIFT, $2A, 0, 0);