gc_controller_set_stick
Set the main or C analog stick position for a GameCube controller port by specifying X/Y values from -1 to 1, simulating directional input in Dolphin emulator or registered hardware.
Instructions
Set a stick position (analog).
stick is 'main' or 'c'. x/y are in -1..1 (0,0 = centre).
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>",
"stick": "<stick>",
"x": "<x>",
"y": "<y>"
},
"name": "gc_controller_set_stick"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| port | Yes | ||
| stick | Yes | ||
| instance_id | Yes |