summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/recorder.js
diff options
context:
space:
mode:
authorShantur Rathore <[email protected]>2021-09-20 01:22:48 +0100
committerGitHub <[email protected]>2021-09-20 03:22:48 +0300
commitf160fb561fa5bdcc7e35d35d16f66cc9150a0859 (patch)
treeb143c46ba4748d07da0b877d43152a7444a91c13 /web/share/js/kvm/recorder.js
parente38c65f18187163292c9e35957ac0b62efb04b19 (diff)
Implement macro recording for gpio (#65)
Diffstat (limited to 'web/share/js/kvm/recorder.js')
-rw-r--r--web/share/js/kvm/recorder.js2
1 files changed, 1 insertions, 1 deletions
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;