AnyPS5 Guides
AnyPS5 controller and keyboard settings
Configure AnyPS5 keyboard mappings and SDL controllers, use an INI example, and check touchpad limitations and input failures.
Use the documented INI mapping
The current input layer uses SDL-compatible controllers and supports an INI mapping beside the output executable. ANYPS5_INPUT_CONFIG selects an explicit configuration path. Actions omitted from the file retain their defaults, so you can change only the bindings you need. Copy the upstream mapping example rather than inventing key names.
Test the actual action
Touchpad click support does not imply touch coordinates. Check movement, camera, confirmation, cancellation and any game-specific touch actions separately. If a menu does not advance, report the attempted action and whether keyboard and controller behave differently; do not classify that as working gameplay.
A small keyboard configuration example
Save the following as anyps5-input.ini beside the generated executable. It maps the Cross action to F or Space and leaves omitted actions at their default bindings. The first line for an action replaces its built-in mapping; later lines add alternatives. Controller bindings are managed separately and are not remapped by these keyboard overrides. A malformed line stops input initialisation and reports the filename and line, so change a few actions at a time.
Cross = KEY:F
Cross = KEY:Space
LeftStickLeft = KEY:J
LeftStickRight = KEY:L
LeftStickUp = KEY:I
LeftStickDown = KEY:KInput features still under review
The separate native editor discussed in PR #674 is still a proposal in our reviewed snapshot. Do not follow F10 or editor-install instructions as if they were supported by every release. Touchpad clicks and actual finger coordinates are different features. For a game-specific problem, record the controller model, connection type, attempted action and whether keyboard input differs.
New main keyboard controls
Current main binds L2 to R/mouse X1, Shake to held X and mouse capture to middle button or F7. Shake synthesizes motion every50ms; it does not verify a title’s sensor behavior. Optional StickModifierScale defaults0.5 with no modifier binding; KeyboardRampMs/TriggerRampMs default0. These change keyboard emulation, not controller sticks. Releasev0.1.2 may differ.
Later main: screenshots and timed input
v0.1.4 now documents F12 screenshots and timed input. F12 saves the next displayed frame as PNG in anyps5-screenshots/ or ANYPS5_SCREENSHOTS, without overlay/window scaling; PQ becomes SDR. Write failure stops the game. tools/pad_timeline.py validates ordered nonoverlapping button events (≤4096,≤1h, holds1–5000ms). Timelines follow wall time/controller reads, can miss events during loading and do not reproduce game state.
Documented default: F10 performance overlay
The current default binding table explicitly lists F10 for TogglePerformanceOverlay and F12 for Screenshot. Configurations may override them. Toggle support and screenshot availability have their own release boundaries; a documentation row is not evidence of a new game-performance improvement.
Later main: simultaneous buttons in file input
pad_input.py accepts names joined by +, such as l1+r1, as one simultaneous press. release cannot be combined. Keep the existing release observation between commands: rapid file writes replace the previous command, and scripted input does not establish physical-controller, touch or rumble coverage.
Later main: four controller slots
On reviewed main, discovery order fills the first unreserved controller slot; only Player 1 is combined with keyboard and mouse. ANYPS5_PAD_PLAYER_1_SERIAL through ANYPS5_PAD_PLAYER_4_SERIAL can reserve exact SDL serials for stable assignments after reconnection. A disconnected configured slot stays reserved. Controllers without an exposed or configured serial use the other free slots. Duplicate serial assignments stop startup. This does not verify a game’s multiplayer or controller features.
A name prompt can still need a keyboard
OCTOPATH0’s63a863d3b0 report reaches character creation, but the IME name dialog accepts host keyboard text; controller-only completion is not verified. A proposed on-screen keyboard is not a merged feature. DriftCheck’s real USB Xbox test is on a separate patched Mac/Rosetta tree and does not prove every game, DualSense sensor or rumble path.
Edit an input configuration in the browser
The official hosted input mapper now opens directly in the browser; the optional local server below still needs Node.js 22+. It follows main, so new settings may require a build newer than v0.1.5. Search actions, keys and full inputs; actions without overrides include their defaults. Controller buttons edits SDLButton: assignments, including None and No override. Native settings edits values such as MouseSensitivity; blank inherits. Import, preview, copy and download retain validated settings. Use an exact title ID to export anyps5-input.<TITLEID>.ini, or leave it blank for the shared file. Only the language choice persists: export edits before reloading. The mapper configures input; it does not run a game.
npm --prefix tools/input-mapper startCheck warnings before exporting
Invalid imports preserve the current configuration; invalid bindings block export. Duplicate or shared inputs, including retained defaults, produce warnings. Removing every binding for an action restores its built-in inputs. Capture uses physical browser keys mapped to SDL names. Escape cancels capture and must be selected manually to assign it; IME, ambiguous keys and system shortcuts may also need manual selection. Names containing # or ; cannot be exported because INI treats them as comments. The interface and FAQ have 24 languages, including RTL layouts; this does not translate a game.
Fullscreen and two overlay pages
Current main adds F11 fullscreen and F10 cycling off → page1 → page2 → off. ANYPS5_FULLSCREEN starts at desktop resolution when nonempty and not0; it is not a game render-resolution override. ANYPS5_OVERLAY accepts only0/1/2; positions are tl/tr/bl/br. Page2 uses one-second intervals and instrumentation has overhead. Inclusive CPU phases and overlapping GPU ranges cannot be added; missing counters are omitted, not zero. System commit/limit is not process RSS; Linux reports a limit only with strict overcommit=2. Flip/present/drop/repeat counts describe different events. These main features are not established as part of unchanged v0.1.3.
Output class, display and frame limits are different settings
Reviewed main documents APS5_OUTPUT_RESOLUTION=WxH: both dimensions below 3840×2160 select the 1080p VideoOut class; otherwise it reports the 2160 class. This does not force internal rendering resolution, and some games ignore it. ANYPS5_DISPLAY_INDEX chooses a connected SDL display by zero-based index. ANYPS5_FPS_LIMIT accepts 0.5–1000000 with at most three decimals; 0/empty/unset disables it. A cap cannot accelerate a slow game or exceed its output cadence. These settings are absent from v0.1.4’s usage attachment; preserve the actual tested commit.
Host comfort controls do not validate controller features
v0.1.4 documents ANYPS5_RUMBLE=0–100 (default 100): zero silences rumble, trigger impulses and haptic fallback, not adaptive-trigger effects. APS5_PAD_SPEAKER_FALLBACK_DB accepts −60 to 0 or mute/off/-inf; it affects AudioOut2’s host fallback, not the main mix, actual controller speaker or legacy AudioOut. Empty/invalid values fail. F5/F6/F8 adjust host volume; they do not change game state. In reviewed main, ANYPS5_PAD_PORT0_STATE=controller logs user 0 out after a debounced controller disconnect, unlike other player slots. APS5_NO_PAD_INPUT suppresses keyboard/mouse and F keys even when set empty, not physical controllers or file-injected input.
Per-game bindings override only named settings
Later main reads anyps5-input.<TITLEID>.ini after the shared input file, beside that file or ANYPS5_INPUT_CONFIG’s target. Only listed actions/settings override the shared configuration; other titles keep their bindings. IDs allow letters, digits, underscore and hyphen. Invalid lines report profile path and line. Keep the actual build pin: this is not established in v0.1.4’s attached input guide.
Reviewed main limits a per-game title ID to 32 characters. A longer ID or a character outside letters, digits, underscore and hyphen silently selects no per-game file; that is different from a malformed line inside a valid profile, which reports its file and line.
When F7 hands the mouse to the pad
On reviewed main, a title that opens the mouse receives movement, clicks and wheel events instead of their pad bindings while its window is focused. ToggleMouse, F7 by default, hands the whole mouse to pad emulation until toggled off: movement drives the stick and clicks/wheel use the pad bindings; the title’s mouse then reports no input. Try this distinction when a game opens a mouse but ignores it during play. It does not verify camera control or a playable scene in every title.
Separate device detection from button remapping
If SDL sees a joystick but F9 shows NO CONTROLLER, check an SDL2 mapping for the device GUID, operating system and USB/Bluetooth connection. SDL_GAMECONTROLLERCONFIG_FILE selects a mapping file read at startup; SDL_GAMECONTROLLERCONFIG takes priority over that file. Only after SDL recognizes the device do SDLButton: lines remap its buttons. A mapping problem and a game that ignores an otherwise recognized controller need different reports.
Later main: F2 borderless window
On reviewed main, F2 toggles borderless windowed display and restores the normal window's size and position when toggled back. ANYPS5_WINDOW_MODE=borderless selects it at startup; ANYPS5_FULLSCREEN takes precedence. F11 leaves borderless before switching fullscreen. ToggleBorderless accepts keyboard keys only. These host-window changes do not alter the game's rendering resolution and are not established for v0.1.5.