KeyEvent

data class KeyEvent(val type: KeyEventType, val key: Int, val name: String, val modifiers: Set<KeyModifier>)(source)

Key event describes key events.

Constructors

Link copied to clipboard
constructor(type: KeyEventType, key: Int, name: String, modifiers: Set<KeyModifier>)

Functions

Link copied to clipboard

Properties

Link copied to clipboard
val key: Int

physical key identifier, don't use this for layout-sensitive queries

Link copied to clipboard

a set of key modifiers that are active/pressed

Link copied to clipboard

the layout-sensitive name of the key

Link copied to clipboard

a flag that can be set to indicate that this event is handled and should not be processed further

Link copied to clipboard

the type of event