From 0c8a8d73f65ed01bc7f9acad97a0527a982694cd Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Wed, 28 Apr 2021 17:05:40 -0700 Subject: [PATCH] User input fix. --- public/scripts/agent-desktop-0.0.2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/agent-desktop-0.0.2.js b/public/scripts/agent-desktop-0.0.2.js index 9da03972..4d53e76f 100644 --- a/public/scripts/agent-desktop-0.0.2.js +++ b/public/scripts/agent-desktop-0.0.2.js @@ -398,7 +398,7 @@ var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) { } // Send remote input lock. 0 = Unlock, 1 = Lock, 2 = Query - obj.SendRemoteInputLock = function (code) { obj.send(String.fromCharCode(0x00, obj.InputType.KEYUNICODE, 0x00, 0x05, code)); } + obj.SendRemoteInputLock = function (code) { obj.send(String.fromCharCode(0x00, 87, 0x00, 0x05, code)); } obj.SendMessage = function (msg) { if (obj.State == 3) obj.send(String.fromCharCode(0x00, 0x11) + obj.shortToStr(4 + msg.length) + msg); // 0x11 = 17 MNG_KVM_MESSAGE