diff options
author | Maxim Devaev <[email protected]> | 2023-06-07 05:12:22 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-06-07 05:12:22 +0300 |
commit | 9f98a2f701703a3f9f591868547c834463d3d6b1 (patch) | |
tree | f2fe4f4541c78edaa6ec791a304d73f0595d4751 /web/share/js/kvm/keyboard.js | |
parent | 9c694da00c7d93cbff3aa910ffdeeb8dded691c0 (diff) |
binary keyboard protocol
Diffstat (limited to 'web/share/js/kvm/keyboard.js')
-rw-r--r-- | web/share/js/kvm/keyboard.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/keyboard.js b/web/share/js/kvm/keyboard.js index 7cbdc1e8..b398e769 100644 --- a/web/share/js/kvm/keyboard.js +++ b/web/share/js/kvm/keyboard.js @@ -134,7 +134,7 @@ export function Keyboard(__recordWsEvent) { "event": {"key": code, "state": state}, }; if (__ws && !$("hid-mute-switch").checked) { - __ws.send(JSON.stringify(event)); + __ws.sendHidEvent(event); } __recordWsEvent(event); }; |