ppsspp_press_button
Press a PSP button for a set number of frames and automatically release it. Ideal for discrete actions like skipping cutscenes or confirming menu selections in the emulator.
Instructions
PURPOSE: Press a PSP button for a fixed number of frames, then auto-release. USAGE: Use for discrete actions like pressing Start to skip a cutscene, or Cross to confirm a menu. For longer holds across many frames use ppsspp_press_buttons (persistent state) instead. BEHAVIOR: Modifies emulator input state. PPSSPP queues the press internally and releases the button after duration frames; the tool call returns immediately. Returns an error if the button name isn't recognized. RETURNS: Single line 'Pressed BUTTON for N frames (auto-released)'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | Yes | PSP button name. Valid: cross, circle, triangle, square, up, down, left, right, start, select, ltrigger, rtrigger, home. | |
| duration | No | Number of frames to hold the button before releasing (default 1). |