Setup the key presses.