From b5f1a002824221df55cd6d5b5e4327f7ec5b2718 Mon Sep 17 00:00:00 2001 From: Alex Tanskanen Date: Mon, 4 Nov 2019 14:22:46 +0100 Subject: [PATCH] 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. --- kasmweb/core/input/keyboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kasmweb/core/input/keyboard.js b/kasmweb/core/input/keyboard.js index ab62378..6e41365 100644 --- a/kasmweb/core/input/keyboard.js +++ b/kasmweb/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;