KeyboardInputEvent Object extends InputEvent
type
string - The type of the event, can berawKeyDown
,keyDown
,keyUp
orchar
.keyCode
string - The character that will be sent as the keyboard event. Should only use valid Accelerator key codes.