create key event
key action (KeyDown, KeyUp, Text, Repeat)
flags (shift, ctrl, alt...) - KeyFlag enum
returns true if any modifier flag is set
key code (usually from KeyCode enum)
returns modifier flags filtered for KeyFlag.Control | KeyFlag.Alt | KeyFlag.Menu | KeyFlag.Shift only
returns true if no modifier flags are set
entered text, for Text action
Keyboard event