simulate_key
Send keyboard events to the active game using key names like W, SPACE, or ESCAPE, enabling automated input simulation and gameplay testing.
Instructions
Send a keyboard event to the running game by key name such as W, SPACE, ESCAPE or F1 (dropped if no game is running)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | ||
| ctrl | No | ||
| shift | No | ||
| keycode | Yes | ||
| pressed | No |