diff options
Diffstat (limited to 'web/share/js/kvm')
-rw-r--r-- | web/share/js/kvm/keyboard.js | 7 | ||||
-rw-r--r-- | web/share/js/kvm/mouse.js | 2 |
2 files changed, 2 insertions, 7 deletions
diff --git a/web/share/js/kvm/keyboard.js b/web/share/js/kvm/keyboard.js index 0cdfafda..4b30b2c6 100644 --- a/web/share/js/kvm/keyboard.js +++ b/web/share/js/kvm/keyboard.js @@ -35,12 +35,7 @@ export function Keyboard(__recordWsEvent) { var __keypad = null; var __init__ = function() { - let fix_mac_cmd = tools.browser.is_mac; - if (fix_mac_cmd) { - tools.info("Keyboard: enabled Fix-Mac-CMD"); - } - - __keypad = new Keypad("div#keyboard-window", __sendKey, fix_mac_cmd); + __keypad = new Keypad("div#keyboard-window", __sendKey, true); $("hid-keyboard-led").title = "Keyboard free"; diff --git a/web/share/js/kvm/mouse.js b/web/share/js/kvm/mouse.js index 096eebc6..f927567c 100644 --- a/web/share/js/kvm/mouse.js +++ b/web/share/js/kvm/mouse.js @@ -48,7 +48,7 @@ export function Mouse(__getGeometry, __recordWsEvent) { var __stream_hovered = false; var __init__ = function() { - __keypad = new Keypad("div#stream-mouse-buttons", __sendButton); + __keypad = new Keypad("div#stream-mouse-buttons", __sendButton, false); $("hid-mouse-led").title = "Mouse free"; |