Okay, when I start the program it says
input.isControllerUp(Input.ANY_CONTROLLER) = true
even when it’s not held down. but once I press it it goes back to normal. How do I fix this bug?
public void updateControler(GameContainer gc){
Input input = gc.getInput();
if(input.isControllerUp(Input.ANY_CONTROLLER)) {
worldY = player.moveUp(map, worldY);
}
}