mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
web: fixed update leds on hid events
This commit is contained in:
parent
fb235dd3a8
commit
066b3def4c
@ -56,6 +56,7 @@ function Keyboard() {
|
||||
|
||||
self.setState = function(state) {
|
||||
__ok = state.ok;
|
||||
__updateLeds();
|
||||
};
|
||||
|
||||
self.releaseAll = function() {
|
||||
|
||||
@ -47,6 +47,7 @@ function Mouse() {
|
||||
|
||||
self.setState = function(state) {
|
||||
__ok = state.ok;
|
||||
__updateLeds();
|
||||
};
|
||||
|
||||
var __hoverStream = function() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user