diff options
author | Maxim Devaev <[email protected]> | 2022-08-22 18:41:02 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-08-22 18:41:02 +0300 |
commit | 766e5151788655542d8a9f0bb74889d249c0a016 (patch) | |
tree | 55727598a8b25c03e50c929dbbaa905c425f2869 /web/share/js/kvm | |
parent | 7bd690b4db5a2f075c2b13432a983dad8fc86622 (diff) |
pikvm/pikvm#375: fixed AltGr handling
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"; |