From f160fb561fa5bdcc7e35d35d16f66cc9150a0859 Mon Sep 17 00:00:00 2001 From: Shantur Rathore Date: Mon, 20 Sep 2021 01:22:48 +0100 Subject: Implement macro recording for gpio (#65) --- web/share/js/kvm/recorder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/share/js/kvm/recorder.js') diff --git a/web/share/js/kvm/recorder.js b/web/share/js/kvm/recorder.js index 3de98056..b1992eb7 100644 --- a/web/share/js/kvm/recorder.js +++ b/web/share/js/kvm/recorder.js @@ -217,7 +217,7 @@ export function Recorder() { } }, event.event.text, "text/plain"); return; - } else if (["key", "mouse_button", "mouse_move", "mouse_wheel"].includes(event.event_type)) { + } else if (["key", "mouse_button", "mouse_move", "mouse_wheel", "gpio_switch", "gpio_pulse"].includes(event.event_type)) { __ws.send(JSON.stringify(event)); } index += 1; -- cgit v1.2.3