simulate_input
Simulate keyboard or controller input to trigger game actions like movement, firing, jumping, and special moves in a running Broforce game, enabling automated testing and gameplay manipulation.
Instructions
Simulate keyboard/controller input
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of times to press the key (optional, cannot be used with duration) | |
| action | Yes | Input action (up, down, left, right, fire, jump, special, highFive, gesture, sprint, start, escape) | |
| player | No | Player number (0-3, default: 0) | |
| duration | No | Hold duration in milliseconds (optional) | |
| interval | No | Milliseconds between presses when count > 1 (default: 200) |