typestring - The type of the event, can berawKeyDown,keyDown,keyUporchar.keyCodestring - The character that will be sent as the keyboard event. Should only use valid Accelerator key codes.
type string - The type of the event, can be rawKeyDown, keyDown, keyUp or char.keyCode string - The character that will be sent
as the keyboard event. Should only use valid Accelerator
key codes.