web: fixed update leds on hid events

This commit is contained in:
Devaev Maxim 2019-02-08 00:12:21 +03:00
parent fb235dd3a8
commit 066b3def4c
2 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ function Keyboard() {
self.setState = function(state) {
__ok = state.ok;
__updateLeds();
};
self.releaseAll = function() {

View File

@ -47,6 +47,7 @@ function Mouse() {
self.setState = function(state) {
__ok = state.ok;
__updateLeds();
};
var __hoverStream = function() {