diff --git a/core/src/mindustry/ui/dialogs/SettingsMenuDialog.java b/core/src/mindustry/ui/dialogs/SettingsMenuDialog.java index e291ace87d..64333796cf 100644 --- a/core/src/mindustry/ui/dialogs/SettingsMenuDialog.java +++ b/core/src/mindustry/ui/dialogs/SettingsMenuDialog.java @@ -292,13 +292,15 @@ public class SettingsMenuDialog extends Dialog{ if(mobile){ game.checkPref("autotarget", true); - game.checkPref("keyboard", false, val -> { - control.setInput(val ? new DesktopInput() : new MobileInput()); - input.setUseKeyboard(val); - }); - if(Core.settings.getBool("keyboard")){ - control.setInput(new DesktopInput()); - input.setUseKeyboard(true); + if(!ios){ + game.checkPref("keyboard", false, val -> { + control.setInput(val ? new DesktopInput() : new MobileInput()); + input.setUseKeyboard(val); + }); + if(Core.settings.getBool("keyboard")){ + control.setInput(new DesktopInput()); + input.setUseKeyboard(true); + } } } //the issue with touchscreen support on desktop is that: