ppsspp_send_analog
Set the PSP analog stick state for game controls. Input x and y values from -1 to 1 to drive character movement or camera.
Instructions
PURPOSE: Set the PSP analog stick state (one of left/right; the PSP only has one stick natively but PPSSPP exposes both for forward-compat). USAGE: Drive games that need analog input — character movement, camera control. X and Y are signed in [-1.0, 1.0]; (0, 0) = neutral, (1, 0) = full right, (0, -1) = full up. BEHAVIOR: Modifies emulator analog input. State persists until updated. RETURNS: Single line 'Set analog stick STICK to (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": {
"stick": "<stick>",
"x": "<x>",
"y": "<y>"
},
"name": "ppsspp_send_analog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stick | Yes | Which analog stick to update. PSP only has 'left' natively; 'right' is reserved. | |
| x | Yes | Horizontal axis. -1 = full left, 0 = center, 1 = full right. | |
| y | Yes | Vertical axis. -1 = full down, 0 = center, 1 = full up. |