diff options
Diffstat (limited to 'kvmd/web/js/hid.js')
-rw-r--r-- | kvmd/web/js/hid.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kvmd/web/js/hid.js b/kvmd/web/js/hid.js index ccab02cc..64ccb0e6 100644 --- a/kvmd/web/js/hid.js +++ b/kvmd/web/js/hid.js @@ -2,11 +2,19 @@ var hid = new function() { var __install_timer = null; var __installed = false; + var __hidden_attr = null; + var __visibility_change_attr = null; + this.init = function() { keyboard.init(); mouse.init(); } + this.releaseAll = function() { + keyboard.releaseAll(); + mouse.releaseAll(); + }; + this.emitShortcut = function(...codes) { console.log(codes); var delay = 0; |