openrndr / org.openrndr / Keyboard

Keyboard

class Keyboard (source)

Keyboard events in a single class

Constructors

<init>

Keyboard events in a single class

Keyboard()

Properties

character

character event

val character: Event<CharacterEvent>

keyDown

key down event

val keyDown: Event<KeyEvent>

keyRepeat

key repeat event

val keyRepeat: Event<KeyEvent>

keyUp

key up event

val keyUp: Event<KeyEvent>

pressedKeys

set containing the names of the currently pressed keys

var pressedKeys: MutableSet<String>