input.readGenerated
Read the pointer, buttons, keys, pad and wheel, and the window’s pixel size and scale.
Syntax
Section titled “Syntax”requires { input.read; }Description
Section titled “Description”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.
Builtins that need it
Section titled “Builtins that need it”| Function | Category |
|---|---|
window |
context |
scale |
context |
pointer |
context |
pointer_down |
context |
button |
context |
stick |
context |
wheel |
context |
pads |
context |
key |
context |
typed |
context |

