game_gamepad
game_gamepadSend gamepad button or axis input events to simulate controller actions for testing or automation.
Instructions
Send gamepad button or axis input event
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | "button" or "axis" | |
| index | Yes | Button or axis index | |
| value | Yes | Value: 0/1 for buttons, -1.0 to 1.0 for axes | |
| device | No | Gamepad device index. Default: 0 |