Multiple controllers
-
Hello,
I've searched this forum and several others, but can't seem to find the answer to this question. There are several related topics, but I can't find one for this. I have a Raspberry Pi 3 running Retropie. Attached is a Buffalo classic USB gamepad which I used to get everything working. I then build a custom joystick/button controller with an IPAC2 as the keyboard controller. I want to be able to use the NES controller for some games and the custom one for other games. It seems to work if I only have one plugged into the USB ports of the Pi. However, if I have both plugged in, only my customer setup works and not the NES. I can use it to navigate the menus, but when the game starts, the custom controller is the only one that works.Questions:
- Should there be more than one file in /opt/retropie/configs/all/retroarch-joypads ?
- The start of that file is USB,2. Should there be one of these config files for each USB port that has a controller connected to it?
- I see you can specify different button mappings for ALL, by Emulator, and by game. Right now I don't want to do that. I want to use the NES controller for some games and the button controller for others. Is there a way to do this.
Sorry if this is well covered territory, but I can't seem to figure it out. If I unplug the custom controller, the NES controller works fine. However, if I have both plugged in, only the custom controller works once I've entered a game...
Any help would be appreciated.
Tom
-
@tmclaughlin Before plugging in the iPac, did you configure a keyboard first to match the iPac settings? If not, try that.
-
@tmclaughlin said in Multiple controllers:
Should there be more than one file in /opt/retropie/configs/all/retroarch-joypads
If by you asking this, I'm assuming you're only seeing 1 config file in there even after mapping BOTH controllers. Is that correct?
-
@Dochartaigh Yes, there is only one file (well one and a .bak now). I guess it does not put a file there for the "keyboard" and it sees the IPAC/custom controller as a keyboard.
I'm not sure what fixed it, but I did two things. I moved the NES controller to USB port 0. I then resetup that controller and the IPAC. I also have a USB keyboard plugged in. They all seem to work now.
However, there is still only one file in that directory.
When I go into a game now, there is yellow text in the lower left corner that now says two things (before it only said (1):
- USB blah blah controller configured AND
- IPAC blah blah NOT configured
However, the IPAC setup works and everything seems to work now. Anyone know what fixed it?
I saw this video and he had trouble with a logitech controller and changed the driver to get it to say configured. Wonder if I have to do that. Very informative video by the way.
Tom
-
This post is deleted! -
@tmclaughlin I'm still curious why another config file is not placed in that directory when I configure the IPAC/custom controller and why when we start a game it says that particular controller is "not configured".
It works so I guess that is good, but I'd like to understand how this all works.
-
I'm having similar problems with Retropie. I'm using a Picade from Pimoroni that has its arcade controls mapped as keyboard buttons through their PCB, running on a Pi3. I'm trying to configure my setup with P1 using the arcade buttons, and P2 using a wired Xbox 360 controller. I have the keyboard configured properly, as well as xboxdrv installed and enabled. I'm crossposting from the below link in an effort to get some kind of assistance, so I apologize if something sounds out-of-context
I entered manual config lines into my retroarch.cfg file to correspond to player 2 (http://forums.pimoroni.com/t/multi-player-picade/1507, my cfg is almost identical to the one themattsearle pasted). If I do a simple restart, the P2 controller will navigate all retropie menus exactly as expected, but once I load any game the controller ceases to function (P1 functionality never seems affected, which is good) until I back out to the menu with P1, not even the ingame Retroarch menu functions. Also, every game that I start has a little popup yellow text message in the bottom left corner at the start: "Xbox controller userspace blah blah is not configured"
If I open the retropie menu and "Configure Input" for the Xbox 360 controller, Player 2 inputs in games work perfectly as expected, but it has the problem with controlling P1 and P2 simulataneously. If I delete the .cfg file named after the 360 pad in the /configs/all/retroarch-joypads (the only file in there) and restart emulationstation, I revert back to the ES menus working but ingame controls not for P2. I even tried copying the input_player2_ lines from retroarch.cfg into that xbox cfg, but nothing changed.
As a last-ditch effort I restored my Retroarch.cfg back to the original unaltered backup I made (just in case I tweaked more options that could be complicating things). That had no different effects so something just isn't working as it should. How is it possible that the P2 controls can be configured manually but the emulators just don't recognize it? I think when I get home today I'm going to do a full system update to the newest version and see if that makes a difference. I spent so many hours configuring my romlists, scraping for artwork and manually configuring things that I really don't want to start from scratch on a fresh disk image.
I feel like I can't win and it's driving me mad. There has to be something simple that I'm missing and I can't figure out what. I'm fairly new to Retropie and just built this cabinet a few weeks ago. I was hoping to bring it to a christmas party this Saturday to show off to everybody, but I really just want 2-player support to work with a minimum of fuss.
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.