mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
web: fixed update leds on hid events
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user