I’m having the exact same problem with my four DS4 controllers. I managed to get the first two working by setting up the hotkeys manually in RetroArch, but for some reason controllers 3 & 4 never seem to work in RetroArch emulated games.
Just like you, all four of my DS4 controllers work perfectly fine in EmulationStation. Then you load up a PSX game, it says the Sony Computer Entertainment Wireless Controller is Configured to Port #X” where X is 0 to 4 respectively for each controller. However I cannot for the life of me seem to get the 3rd and 4th controllers to respond in RetroArch emulated games.
When configuring controllers through RetroArch, make sure you go to, “Settings” > “Configuration” > “Save Configuration On Exit” – Otherwise none of your changes will be saved when you close RetroArch.
I have tried to configure the 3rd and 4th controllers this way, and the buttons react like I am configuring them, but they still don’t work in-game. It’s extremely frustrating and I have exhausted every option I can think of.
Seriously if anyone has ANY idea what to do, please help us.