From 7eccf9575594d6ccf21a17e9b00400e5a112a33d Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Wed, 25 Nov 2020 09:57:08 -0800 Subject: [PATCH] Unicode desktop debug. --- public/scripts/agent-desktop-0.0.2.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/scripts/agent-desktop-0.0.2.js b/public/scripts/agent-desktop-0.0.2.js index 3e1f5017..a8bc66f7 100644 --- a/public/scripts/agent-desktop-0.0.2.js +++ b/public/scripts/agent-desktop-0.0.2.js @@ -410,6 +410,7 @@ var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) { obj.SendKeyUnicode = function (action, val) { if (obj.State != 3) return; + if (obj.debugmode > 0) { console.log('Sending UnicodeKey ' + val); } obj.send(String.fromCharCode(0x00, obj.InputType.KEYUNICODE, 0x00, 0x07, (action - 1)) + ShortToStr(val)); }