Skip to content
View source

input.readGenerated

Read the pointer, buttons, keys, pad and wheel, and the window’s pixel size and scale.

requires { input.read; }

Read the pointer, buttons, keys, pad and wheel, and the window’s pixel size and scale.

Whoever runs the session may narrow what is granted with --grant, e.g. --grant field.read,field.write; a Kernel requiring a capability not granted is refused when prepared, and what ran before goes on running.

Function Category
window context
scale context
pointer context
pointer_down context
button context
stick context
wheel context
pads context
key context
typed context