summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/session.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-02-07 05:45:36 +0300
committerDevaev Maxim <[email protected]>2019-02-07 05:45:36 +0300
commitde1bed956cc714e8b750e3df22a563eac0800876 (patch)
tree8d5bea19bd8380313eab5ee1cdfb75784fdb3dc7 /web/share/js/kvm/session.js
parent5bec2ff1449832be374d69ece14e7a63d5d7379a (diff)
new hid protocol with crc
Diffstat (limited to 'web/share/js/kvm/session.js')
-rw-r--r--web/share/js/kvm/session.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/share/js/kvm/session.js b/web/share/js/kvm/session.js
index 95f8fd88..7f2100bd 100644
--- a/web/share/js/kvm/session.js
+++ b/web/share/js/kvm/session.js
@@ -84,6 +84,8 @@ function Session() {
} else if (event.msg_type === "event") {
if (event.msg.event === "info_state") {
__setKvmdInfo(event.msg.event_attrs);
+ } else if (event.msg.event === "hid_state") {
+ __hid.setState(event.msg.event_attrs);
} else if (event.msg.event === "atx_state") {
__atx.setState(event.msg.event_attrs);
} else if (event.msg.event === "msd_state") {