Only poll for input when the player isn't moving.