Don't assign controller numbers to devices that don't have an analog stick

This commit is contained in:
Cameron Gutman 2015-03-16 19:35:43 -04:00
parent 6d6d7121f6
commit bf2cc2a4d5

View File

@ -286,7 +286,7 @@ public class ControllerHandler implements InputManager.InputDeviceListener {
// This is the back button on Shield portable consoles
context.controllerNumber = 0;
}
else if (multiControllerEnabled) {
else if (multiControllerEnabled && context.hasJoystickAxes) {
context.controllerNumber = assignNewControllerNumber();
}
else {