diff options
author | Devaev Maxim <[email protected]> | 2019-09-30 00:43:35 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-09-30 00:43:35 +0300 |
commit | a089334371c13bd9ece2f04b8122204e14ee3661 (patch) | |
tree | 6cc1395cd6b2fb3c7d3493aeff4593e2374d3705 /web | |
parent | a60e4142b88f22e0de4d0d74b279754f7a3ea365 (diff) |
separate keyboard and mouse statuses
Diffstat (limited to 'web')
-rw-r--r-- | web/share/js/kvm/hid.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/share/js/kvm/hid.js b/web/share/js/kvm/hid.js index 6fd5f6a0..772b4a45 100644 --- a/web/share/js/kvm/hid.js +++ b/web/share/js/kvm/hid.js @@ -95,8 +95,8 @@ export function Hid() { }; self.setState = function(state) { - __keyboard.setState(state); - __mouse.setState(state); + __keyboard.setState(state.keyboard); + __mouse.setState(state.mouse); }; var __releaseAll = function() { |