This one is resolved.
For everyone having the same issue.
In order to enable 3rd and 4th player through joysticks, you have to first install the ps3 or Xbox controller drivers through the retro pie setup menu.
Do not input any specific button configuration inside the per console config files.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.