跳转到主内容

KeyboardInputEvent 对象继承InputEvent

  • type string - 事件类型,可以是 rawKeyDown, keyDown, keyUpchar
  • keyCode string - keyCode字符将被作为键盘事件发送 Should only use the valid key codes in Accelerator.