Skip to content

Commit

Permalink
Add "macOS shuffle" to iOS as well
Browse files Browse the repository at this point in the history
Since iOS functions like macOS with regards to Alt behaving like AltGr,
we need the same workaround on iOS as well.
  • Loading branch information
Alex Tanskanen committed Nov 4, 2019
1 parent ccb511a commit 175b843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/input/keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 175b843

Please sign in to comment.