gc_controller_press
Hold a specified GameCube controller button on a chosen port in a Dolphin or hardware instance; pair with a release call to complete the input.
Instructions
Press (hold) a button on a GameCube controller port.
Buttons: A, B, X, Y, Z, START, L, R, D_UP, D_DOWN, D_LEFT, D_RIGHT. Remember to call gc_controller_release (or use gc_controller_sequence).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instance_id": "<instance_id>",
"port": "<port>",
"button": "<button>"
},
"name": "gc_controller_press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| button | Yes | ||
| instance_id | Yes |