This commit is contained in:
April Ayres-Griffiths 2019-04-17 19:46:59 +10:00
parent f09f0b85fa
commit 3c40bcf340
2 changed files with 10 additions and 8 deletions

View File

@ -2732,7 +2732,7 @@ begin
lastFocusLostTime:=Now(); lastFocusLostTime:=Now();
SimpleGet( baseUrl + '/api/control/mouse/buttonstate/1' ); SimpleGet( baseUrl + '/api/control/mouse/buttonstate/1' );
Delay(50); Sleep(50);
SimpleGet( baseUrl + '/api/control/mouse/buttonstate/0' ); SimpleGet( baseUrl + '/api/control/mouse/buttonstate/0' );
end; end;
ReposWindow; ReposWindow;
@ -2884,10 +2884,10 @@ begin
VK_BACK: VK_BACK:
if isCtrl and isShift then if isCtrl and isShift then
Result := 0; Result := 0;
13: begin VK_RETURN: begin
if isAlt or isShift or isCtrl then if not isAlt then
Result := 0; Result := 13;
end; end;
VK_SHIFT: Result := 0; VK_SHIFT: Result := 0;
VK_CAPITAL: begin VK_CAPITAL: begin
if KeyUp then if KeyUp then

View File

@ -2884,10 +2884,12 @@ begin
VK_BACK: VK_BACK:
if isCtrl and isShift then if isCtrl and isShift then
Result := 0; Result := 0;
13: begin VK_RETURN: begin
if isAlt or isShift or isCtrl then if not isAlt then
Result := 13
else
Result := 0; Result := 0;
end; end;
VK_SHIFT: Result := 0; VK_SHIFT: Result := 0;
VK_CAPITAL: begin VK_CAPITAL: begin
if KeyUp then if KeyUp then