input_sequence
Inject timed sequences of keyboard, mouse, and wheel events into DOSBox to automate complex input patterns or replay recorded sessions.
Instructions
Inject a timed sequence of key, mouse, and wheel events. For complex input patterns or recorded replays. Mouse movement is RELATIVE (x_rel/y_rel deltas from the current cursor position); there is no absolute positioning. To reach a known position, sweep past a screen corner first (e.g. x_rel:-4000, y_rel:-4000 pins the cursor top-left), then move by the target offset. A click is a mouse_button press event followed by a release event. Unknown fields are rejected with an error naming the allowed ones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | Input events, dispatched in order on one timeline. |