KeyEvent

fun KeyEvent(    keyCode: KeyCode = KeyCode.UNDEFINED,     character: String = "",     isControlDown: Boolean,     isShiftDown: Boolean,     isAltDown: Boolean)

Creates a KeyEvent.