From a089334371c13bd9ece2f04b8122204e14ee3661 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Mon, 30 Sep 2019 00:43:35 +0300 Subject: separate keyboard and mouse statuses --- web/share/js/kvm/hid.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web') 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() { -- cgit v1.2.3