Expand description
Injected input: one InputFrame per frame, built from request parameters. Every number that
comes from a request is hostile: non-finite values are refused, the rest clamped.
Structs§
- Input
Frame - One frame of injected input.
Constants§
- MAX_
CHORDS - Most chords in one
ui.presssequence. - MAX_
TEXT - Most characters one
ui.type/ui.fillsends.
Functions§
- action_
frame - An AccessKit action for the egui widget whose
Idvalue isnode(focus, scroll into view). - button
- chords
"Mod+Shift+S"or a sequence"G G"(theashlar_command::shortcutsyntax) as egui keys.- click_
frames - delta
{dx, dy}from params (missing = 0).- drag_
frames - egui_
modifiers - egui modifiers as a real keyboard on this platform reports them.
- hover_
frames - key
- An egui key by name, forgiving about case and common aliases (
return,esc,up). - key_
frames - Press and release
key: two frames. - modifiers
{command, shift, alt, ctrl}(command= ⌘ on macOS, Ctrl elsewhere) fromp.modifiers.- point
{x, y}from params.- replace_
frames - Replace the focused field’s text: select all, then type (or delete when
textis empty), then Enter whensubmit. - scroll_
frames - type_
frames