Fixed the controls again.

This commit is contained in:
2014-07-22 08:25:15 -04:30
parent 1b2ea706d3
commit f4e5ebabb2

View File

@@ -1357,7 +1357,7 @@ public class InGameState extends BaseState{
userInput.axisRightY = value; userInput.axisRightY = value;
} }
}else if(Math.abs(value) <= Ouya.STICK_DEADZONE && Math.abs(value) > 0.15f){ }else if(Math.abs(value) <= Ouya.STICK_DEADZONE){
userInput = new GamepadUserInput(); userInput = new GamepadUserInput();
if(axisCode == Ouya.AXIS_LEFT_X){ if(axisCode == Ouya.AXIS_LEFT_X){
userInput.axisLeftX = 0.0f; userInput.axisLeftX = 0.0f;