summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/recorder.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/kvm/recorder.js')
-rw-r--r--web/share/js/kvm/recorder.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/share/js/kvm/recorder.js b/web/share/js/kvm/recorder.js
index 5d9d1553..cf792bc2 100644
--- a/web/share/js/kvm/recorder.js
+++ b/web/share/js/kvm/recorder.js
@@ -336,7 +336,11 @@ export function Recorder() {
});
return;
- } else if (["key", "mouse_button", "mouse_move", "mouse_wheel", "mouse_relative"].includes(event.event_type)) {
+ } else if (event.event_type === "key") {
+ event.event.finish = $("hid-keyboard-bad-link-switch").checked;
+ __ws.sendHidEvent(event);
+
+ } else if (["mouse_button", "mouse_move", "mouse_wheel", "mouse_relative"].includes(event.event_type)) {
__ws.sendHidEvent(event);
} else if (event.event_type === "mouse_move_random") {