retroarch-ifjoy
Script to start Retroarch w/ different config depending on joystick
...It's impossible to create a single remap that's perfect for both 4-button and 6-button gamepads.
I had to do something to avoid remapping every system or game, every time I want to play with a different controller.
This bash script will launch Retroarch with a different configuration file depending on the vendorid:productid of the first connected joystick (js0).
Useful if you need to use different joysticks with different remaps.
Remaps for 4-button joysticks and 6-buttons joysticks can finally be completely separate.
Hello Sega-like/Saturn/6-button/arcade stick users!