pub enum InputMode {
Human,
Careful,
Robotic,
}Expand description
Which input style to synthesize.
Human produces multi-event sequences with realistic timing.
Careful produces single-shot sequences with no behavioral
synthesis but still uses the trusted-event dispatch path on the
engine side. Robotic produces an empty sequence — the engine
reads the empty vector as a signal to fall back to JS synthetic
dispatch (the historical vibesurfer behavior).
Variants§
Human
Bezier paths, Fitts-law arrival times, digraph-distributed keystroke gaps, occasional typo + correction. Bounded total duration (see per-function docs).
Careful
Single-shot trusted dispatch. No paths, no per-key delays. The “instant” mode for power users who don’t need detection resistance.
Robotic
Empty sequence — the engine falls back to its historical
JS-synthetic event dispatch. Provided so callers don’t branch
on the mode themselves; they always call into vs-humanize
and the empty Vec is the contract for “skip me.”