To remap PS5 controller buttons, go to Settings > Accessibility > Controllers > Custom Button Assignment. Enable custom assignments, select “Customize,” and adjust buttons as desired.
Here's how to find the right settings. To change your controller's button assignments on the PS5, open the system settings by selecting the gear-shaped icon on the top right of the home screen.