Now, after boot up, the rc.local file shows the correct output with 2 controllers, but they both say “controller available at /dev/input/js0, /dev/input/event2” And once I’m using RetroArch, they overlap, and really only one can be used. They both control one player.
What am I doing wrong here? I had this problem before I listed them by their path.
Hey, I have no help for you. But I had kind of the opposite problem. One controller was controlling both player1 and player2 on mine at one point. Weird. I’m struggling with getting controllers to work right, but not having much luck.
Thanks for replying! I may be on the right track, although I haven’t tested it with Emulationstation yet. Adding –detach-kernel-driver before the –silent option seemed to allow two different /dev/inputs for me. Maybe give that one a shot?
@prusr: I had a similar problem when setting up my Retropie. If you have multiple controllers, the problem lies in that when you copied the controller configuration from controller 1 over to controller 2, you may have changed everything from Player1 to Player2 but at the top of that configuration it says something like “input_player1_joypad_index = 0″. For player 2, you need to change it to input_player2_joypad_index = 1”. I changed the player1 to player2 but forgot to change that and had the same problem. Change the joypad_index and everything works fine.
@ckarini: did you try to follow the same steps for adding the controllers that are posted here? I did that and everything worked fine. The only problem I had was on getting my controller config to work after using the utility. The problem was I needed to direct the output to my proper retroarch.cfg file. Can’t remember the command off the top of my head but was something like “retroarch-joyconfig >> /home/pi/RetroPie/configs/all/retroarch.cfg”. That got my controllers working properly. As for what’s in rc.local, I used the string that was posted here by petrockblock.