fromAwtKeyEvent

fun fromAwtKeyEvent(event: Int): Key

Gets the corresponding Key from the type of java.awt.event.KeyEvent given.

Return

Corresponding Key, if no mapping was found then Key_unknown is returned

Parameters