KeyboardInputEvent Object extends InputEvent
typestring -The type of the event, can be事件的类型可以是keyDown,keyUporchar.keyDown、keyUp或char。keyCodestring -The character that will be sent as the keyboard event.将作为键盘事件发送的字符。Should only use the valid key codes in Accelerator.应仅使用Accelerator中的有效钥匙代码。