Just set a variable on true / false and check it after the player presses the key?