Browse Source

Improved x86_64 code in bckeyboard.pas

lainz 9 years ago
parent
commit
b4b9a95315
1 changed files with 4 additions and 0 deletions
  1. 4 0
      bckeyboard.pas

+ 4 - 0
bckeyboard.pas

@@ -178,7 +178,11 @@ begin
       str := ' ';
     {$IFDEF CPUX86_64}
     Application.ProcessMessages;
+    if F_shift.Down then
+      KeyInput.Down(VK_SHIFT);
     KeyInput.Press(Ord(UpperCase(str)[1]));
+    if F_shift.Down then
+      KeyInput.Up(VK_SHIFT);
     Application.ProcessMessages;
     {$ELSE}
     if F_shift.Down then