Moves player keyboard handling into player.update