Preserve old DS4 detection behavior on Android 4.3 and below

This commit is contained in:
Cameron Gutman 2019-10-15 21:15:03 -07:00
parent 00a5fed9e9
commit d46053f8d6

View File

@ -487,7 +487,7 @@ public class ControllerHandler implements InputManager.InputDeviceListener, UsbD
}
}
}
else if (devName.contains("Sony")) {
else if (!devName.contains("Xbox") && !devName.contains("XBox") && !devName.contains("X-Box")) {
LimeLog.info("Assuming non-standard DualShock 4 mapping on < 4.4");
context.isNonStandardDualShock4 = true;
}