diff options
author | Alex Tanskanen <aleta@aleta.lkpg.cendio.se> | 2019-11-04 14:22:46 +0100 |
---|---|---|
committer | Alex Tanskanen <aleta@aleta.lkpg.cendio.se> | 2019-11-04 14:22:46 +0100 |
commit | 175b843b664724c0265ab36c7dcee365f1d1d04e (patch) | |
tree | e2aa5da90bf8d90c2a2c2d9284390741f0fe8755 | |
parent | ccb511a527a693d0de0ad58b430f73aa2fb74344 (diff) | |
download | novnc-175b843b664724c0265ab36c7dcee365f1d1d04e.tar.gz |
Add "macOS shuffle" to iOS as well
Since iOS functions like macOS with regards to Alt behaving like AltGr,
we need the same workaround on iOS as well.
-rw-r--r-- | core/input/keyboard.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/input/keyboard.js b/core/input/keyboard.js index ab62378..6e41365 100644 --- a/core/input/keyboard.js +++ b/core/input/keyboard.js @@ -135,7 +135,7 @@ export default class Keyboard { // keys around a bit to make things more sane for the remote // server. This method is used by RealVNC and TigerVNC (and // possibly others). - if (browser.isMac()) { + if (browser.isMac() || browser.isIOS()) { switch (keysym) { case KeyTable.XK_Super_L: keysym = KeyTable.XK_Alt_L; |