v1.3.0: fixed crash issues on iOS by disabling controllers for now

This commit is contained in:
Evan Debenham
2022-06-11 12:50:14 -04:00
parent d195fce5bd
commit a37a7acaa4
2 changed files with 4 additions and 3 deletions

View File

@@ -54,7 +54,8 @@ public class ControllerHandler implements ControllerListener {
}
public static boolean controllersSupported() {
if (DeviceCompat.isAndroid() && Gdx.app.getVersion() < 16) {
//disabled on iOS as a temporary workaround for dependency issues between RoboVM and gdx-controllers
if (DeviceCompat.isiOS() || (DeviceCompat.isAndroid() && Gdx.app.getVersion() < 16)) {
return false;
} else {
return true;