This event is called when the game processes input from the player. It can be used with getinput to check for particular button presses.