diff options
author | Devaev Maxim <[email protected]> | 2019-02-07 05:45:36 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-02-07 05:45:36 +0300 |
commit | de1bed956cc714e8b750e3df22a563eac0800876 (patch) | |
tree | 8d5bea19bd8380313eab5ee1cdfb75784fdb3dc7 /web/share/js/kvm/hid.js | |
parent | 5bec2ff1449832be374d69ece14e7a63d5d7379a (diff) |
new hid protocol with crc
Diffstat (limited to 'web/share/js/kvm/hid.js')
-rw-r--r-- | web/share/js/kvm/hid.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/web/share/js/kvm/hid.js b/web/share/js/kvm/hid.js index 1c60b099..b6896955 100644 --- a/web/share/js/kvm/hid.js +++ b/web/share/js/kvm/hid.js @@ -62,6 +62,11 @@ function Hid() { __mouse.setSocket(ws); }; + self.setState = function(state) { + __keyboard.setState(state); + __mouse.setState(state); + }; + var __releaseAll = function() { __keyboard.releaseAll(); }; |