gc_controller_flick
Flick an analog stick to a target position, hold it briefly, then return it to center for single-action menu navigation without separate set and reset calls.
Instructions
Flick an analog stick: push to (x, y), hold, then return to centre.
This is the analog counterpart to gc_controller_press_once — a single atomic action you can use for menu navigation (e.g. nudge the stick up/down to move a cursor) without pairing set_stick/reset calls.
stick is 'main' or 'c'. x/y are in -1..1 (0,0 = centre). The stick is always returned to centre afterwards. hold_duration defaults to 200 ms.
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_flick"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| port | Yes | ||
| stick | Yes | ||
| instance_id | Yes | ||
| hold_duration | No |