First time up = true than runs normally wtf!?

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);
	}
}

bump.

This is the same issue as you raised in the other thread.