Press a key, get the keycode.