diff options
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(); }; |