KeyboardInputEvent 对象继承InputEvent
type
string - 事件类型,可以是rawKeyDown
,keyDown
,keyUp
或char
。keyCode
string - keyCode字符将被作为键盘事件发送 Should only use the valid key codes in Accelerator.
InputEvent
type
string - 事件类型,可以是 rawKeyDown
, keyDown
, keyUp
或 char
。keyCode
string - keyCode字符将被作为键盘事件发送 Should only use the valid key codes in Accelerator.