ppsspp_press_buttons
Set persistent button states for PSP emulator input. Buttons held until changed; release all by setting each to false.
Instructions
PURPOSE: Set the PSP joypad button state — the buttons in the map are 'held' until you send another buttons command. USAGE: Drive games with input. Unlike one-frame-only schemes on other emulators, PPSSPP's input.buttons.send updates the persistent button state — the buttons stay held until you call ppsspp_press_buttons again with them set false (or use ppsspp_press_button for a timed one-shot). To release all buttons, call with all keys set to false. BEHAVIOR: Modifies emulator input state until changed. PSP buttons (case-sensitive): cross, circle, triangle, square, up, down, left, right, start, select, ltrigger, rtrigger, home. Unrecognized button names return an error. RETURNS: Single line 'Set buttons: BUTTON+BUTTON+...' or '... (all released)' if nothing was pressed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buttons | Yes | Map of PSP button name → pressed (boolean). Valid names: cross, circle, triangle, square, up, down, left, right, start, select, ltrigger, rtrigger, home. Example: {"cross": true, "right": true} holds X and Right. |