Key events which is used to store the functions of the game player instance when player pressing the specified keys.