ppsspp_hold_buttons
Hold a combination of PSP buttons (e.g., cross|circle) in the emulator until another input call changes the state. Use with an active session ID to keep buttons pressed for game control.
Instructions
PURPOSE: Hold a combination of PSP buttons until a subsequent call changes the state.
USAGE: session_id + buttons required (pipe-separated combination, e.g. 'cross|circle'). Valid names: cross / circle / triangle / square / up / down / left / right / start / select / ltrigger / rtrigger.
BEHAVIOR: STATE-CHANGE. Sets button-held state in PPSSPP; persists until next hold_buttons / send_analog call.
RETURNS: {buttons}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buttons | Yes | Button combination string. Multiple buttons separated by '|' (e.g. 'cross|circle'). Held until released (send an empty combination or use press_button to clear). Valid names: cross / circle / triangle / square / up / down / left / right / start / select / ltrigger / rtrigger. | |
| session_id | Yes | Active session ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buttons | Yes | Button combination string (e.g. 'cross|circle'). |