mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
Testing keyboard controls on iOS
This commit is contained in:
parent
17a5b2f387
commit
05267a3f40
2 changed files with 9 additions and 12 deletions
|
|
@ -306,7 +306,6 @@ public class SettingsMenuDialog extends BaseDialog{
|
|||
|
||||
if(mobile){
|
||||
game.checkPref("autotarget", true);
|
||||
if(!ios){
|
||||
game.checkPref("keyboard", false, val -> {
|
||||
control.setInput(val ? new DesktopInput() : new MobileInput());
|
||||
input.setUseKeyboard(val);
|
||||
|
|
@ -315,9 +314,7 @@ public class SettingsMenuDialog extends BaseDialog{
|
|||
control.setInput(new DesktopInput());
|
||||
input.setUseKeyboard(true);
|
||||
}
|
||||
}else{
|
||||
Core.settings.put("keyboard", false);
|
||||
}
|
||||
|
||||
}
|
||||
//the issue with touchscreen support on desktop is that:
|
||||
//1) I can't test it
|
||||
|
|
|
|||
|
|
@ -26,4 +26,4 @@ org.gradle.caching=true
|
|||
org.gradle.internal.http.socketTimeout=100000
|
||||
org.gradle.internal.http.connectionTimeout=100000
|
||||
android.enableR8.fullMode=false
|
||||
archash=324275bb33
|
||||
archash=8904174eec
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue