UI module

Input_Kind

enumextensionexperimentalsince 0.31.0Source

What an input event is.

Example↗
kind := Input_Kind.KEY;
assert(kind != .TEXT);

Members

MOUSE_MOVE
MOUSE_DOWN
MOUSE_UP
SCROLL
KEY
a key press or auto-repeat, with the key in key
TEXT
typed text, as one code point in character

See also