My controller gets detected and everything is fine in emulation station. The problem is my controller seems to be player 2. If I check the inputs it is js1 (instead of js0…).
When i configure the inputs in the Emulation Station it tells me that it detects 3 gamepads but I have only one connected to the Wireless Adapter.
All this happens although I changed CONTROLLER_NUM=1 in the /etc/default/xboxdrv file.
I tried this command I got from Github ./retroarch-joyconfig -o /opt/retropie/configs/all/p1.cfg -p 1 -j 1 (because I hoped it would tell the system that js1 is the player1) but my pi just responded this -bash: ./retroarch-joyconfig: No such file or directory
Additionally I tried deleting the joypad configuration lines in /opt/retropie/configs/all/retroarch.cfg but nothing worked