Unicode desktop debug.

This commit is contained in:
Ylian Saint-Hilaire 2020-11-25 09:57:08 -08:00
parent b5eb5086db
commit 7eccf95755

View File

@ -410,6 +410,7 @@ var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) {
obj.SendKeyUnicode = function (action, val) { obj.SendKeyUnicode = function (action, val) {
if (obj.State != 3) return; 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)); obj.send(String.fromCharCode(0x00, obj.InputType.KEYUNICODE, 0x00, 0x07, (action - 1)) + ShortToStr(val));
} }