openrndr / org.openrndr / KeyEvent

KeyEvent

class KeyEvent

Constructors

<init>

KeyEvent(type: KeyEventType, key: Int, scanCode: Int, name: String, modifiers: Set<KeyboardModifier>, propagationCancelled: Boolean = false)

Properties

key

val key: Int

modifiers

val modifiers: Set<KeyboardModifier>

name

val name: String

propagationCancelled

var propagationCancelled: Boolean

scanCode

val scanCode: Int

type

val type: KeyEventType

Functions

cancelPropagation

fun cancelPropagation(): Unit