summaryrefslogtreecommitdiff
path: root/web/share
diff options
context:
space:
mode:
Diffstat (limited to 'web/share')
-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() {