A↗AnyPS5 / Guide
← THE FIELD GUIDE
GUIDE / 03

Controller & keyboard input

Use the documented input system before adding custom bindings.

Controller behavior

The upstream documents SDL-mapped controllers, analog sticks and triggers. The first recognized controller is used. For Xbox layouts, A/B/X/Y correspond to Cross/Circle/Square/Triangle. PlayStation touchpad clicks are forwarded, but finger coordinates are not implemented.

Change selected keyboard bindings

Put anyps5-input.ini beside the generated executable. To use another location, set ANYPS5_INPUT_CONFIG. This short example maps Cross to the space bar:

Cross = KEY:Space

Each line uses Action = Type:Value. Omitted actions retain their built-in bindings; later lines for the same action add alternatives. Keyboard overrides do not change automatic game-controller bindings.

If input initialization fails

Invalid lines report a filename and line number. A configured file that is missing or unreadable also causes an error. With no custom file or configured path, the built-in mapping applies.

SOURCE · Supported devices, actions & file format Checked 2026-10-11 · commit 4f60248