I have a similar problem. If i follow the tutorial to setup my four xbox controllers somehow the the driver numbers are mixed up. This is what happens when i try to configure controller1:
pi@retropie /opt/retropie/emulators/retroarch $ ./retroarch-joyconfig -o /opt/retropie/configs/all/p1.cfg -p 1 -j 0
etropie/configs/all/p1.cfg -p 1 -j 0
Found joypad driver: udev
Using joypad: Xbox Gamepad (userspace driver) #3
I don´t know why but somehow js0 allways gets #3. I think i could fix this for retroarch by changing the device number for each player but in mupen64plus this doesn’t work.
Is there a way to use your rules file to fix this?
Could you give me some details of how to make the rules file work?