class Key
Contains information about one pressed key
Key(code: Int, modifiers: KeyModifiers = KeyModifiers())
Contains information about one pressed key |
val code: Int
Integer code of the key. |
|
val isAlt: Boolean |
|
val isCtrl: Boolean |
|
val isMeta: Boolean |
|
val isShift: Boolean |
|
val modifiers: KeyModifiers
Modifiers pressed at the same moment the key was pressed |
fun toString(): String |