summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-09-30 00:43:35 +0300
committerDevaev Maxim <[email protected]>2019-09-30 00:43:35 +0300
commita089334371c13bd9ece2f04b8122204e14ee3661 (patch)
tree6cc1395cd6b2fb3c7d3493aeff4593e2374d3705 /web
parenta60e4142b88f22e0de4d0d74b279754f7a3ea365 (diff)
separate keyboard and mouse statuses
Diffstat (limited to 'web')
-rw-r--r--web/share/js/kvm/hid.js4
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() {