Объект KeyboardInputEvent расширяет InputEvent
typestring - The type of the event, can berawKeyDown,keyDown,keyUporchar.keyCodestring - Символ, который будет послан как событие клавиатуры. Should only use valid Accelerator key codes.