mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 18:11:54 +08:00
separate state for hid offline
This commit is contained in:
@@ -153,8 +153,8 @@ export function Hid() {
|
||||
wm.switchEnabled($("hid-mouse-squash-checkbox"), (has_relative_squash && !state.busy));
|
||||
|
||||
if (state) {
|
||||
__keyboard.setState(state.keyboard);
|
||||
__mouse.setState(state.mouse);
|
||||
__keyboard.setState(state.keyboard, state.online, state.busy);
|
||||
__mouse.setState(state.mouse, state.online, state.busy);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user