mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-30 01:21: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) {
|
self.setState = function(state) {
|
||||||
__ok = state.ok;
|
__ok = state.ok;
|
||||||
|
__updateLeds();
|
||||||
};
|
};
|
||||||
|
|
||||||
self.releaseAll = function() {
|
self.releaseAll = function() {
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ function Mouse() {
|
|||||||
|
|
||||||
self.setState = function(state) {
|
self.setState = function(state) {
|
||||||
__ok = state.ok;
|
__ok = state.ok;
|
||||||
|
__updateLeds();
|
||||||
};
|
};
|
||||||
|
|
||||||
var __hoverStream = function() {
|
var __hoverStream = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user