game_gamepad
Send gamepad button or axis input events to simulate controller actions. Specify type, index, value, and optional device.
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 |