ppsspp_send_analog
Send analog stick coordinates (0-255) to control a PPSSPP emulator session. Overrides the current analog position and persists until the next command.
Instructions
PURPOSE: Send an analog stick position (x, y in [0, 255], 128 = center).
USAGE: session_id + x + y required. 0 = full left / up, 255 = full right / down.
BEHAVIOR: STATE-CHANGE. Sets analog stick position; persists until next send_analog call.
RETURNS: {x, y}.
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": {
"session_id": "<session_id>",
"x": "<x>",
"y": "<y>"
},
"name": "ppsspp_send_analog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Analog X coordinate in [0, 255] (128 = center). 0 = full left, 255 = full right. | |
| y | Yes | Analog Y coordinate in [0, 255] (128 = center). 0 = full up, 255 = full down. | |
| session_id | Yes | Active session ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate in [0, 255] (128 = center). | |
| y | Yes | Y coordinate in [0, 255] (128 = center). |