skrypton-api / com.waicool20.skrypton.enums / Key / fromSikuliKeyCode

fromSikuliKeyCode

fun fromSikuliKeyCode(code: Int): Key

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

Parameters

code - The java.awt.event.KeyEvent

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