Listening to the keys from the player object