2 Controllers acting as one.
Don't know what I'm doing wrong but head space is limited right now. Here is my issue. I have a 2 player setup (10 button 1 joystick each). When I do the controller setup after on startup. The issue occurs when I setup my 2nd player it changes the setup of the second controller. Removed the retroarch-joypads .cfg files and reinstalled retroarch. I have minimum skills with Linux but built 2 other systems before and never had this issue. Any help would be great.
Thanks in advance.
@raymondcg If the controllers are the same model, then they share the same configuration file, regardless of which one you configure.
.cfgfile generated from the Emulationstation input configuration step takes the name of the controller, see the docs. So if you map the 2nd controller, a new mapping file will be generated, overwriting the 1st file produced by mapping the 1st controller.
This is only for RetroArch based emulators - but there might be some exception for the Mame cores, where you can switch to the Mame's own mapping (ignoring the RA controls) and configure them by pressing Tab (in-game) and accessing the Mame menu.
It would be useful to know what emulators have you tried and more details about your set-up, as requested in https://retropie.org.uk/forum/topic/3/read-this-first.
I was using mame4all and lr-snes9x2010. That being said it changes my controls for emulation station aswell.
In ES I map controller one, map controller 2 and everything is fine. Both setups do what they should.
Once I Start an emulator (does not matter what one) and all the controls are now messed up.
Exit the game and all the controls are still messed up.
The .cfg is DragonRise Inc. Generic USB Joystick, same one I used last two times. The last version of retropie I used was a few years ago.
Pi Model or other hardware: 3b
Power Supply used: 5v 3a
RetroPie Version Used: 4.4
Built From: retropie-4.4-rpi2_rpi3
USB Devices connected: None
Controller used: From Amazon (Dragonrise)
Error messages received: N/A
Log found in /dev/shm/runcommand.log (if relevant):
Emulator: lr-snes9x2010, mame4all
Attachment of config files: N/A
How to replicate the problem:
@raymondcg As I said, this is how it works - you need to map your controller once (any of them) and the other will inherit the same controls. ES might be an exception, since it can read the SN off the controller, but RetroArch (i.e.
lr-snes2010) will use the SAME configuration for both controllers.
When you configure the 2nd controller in ES, its configuration will also be applied to the 1st when you open RA.
Have you, by any change, enabled the 'Save Config on Exit' or used the 'Save Configuration' in RA ?
Mame4all is not really a recommended arcade emulator, unless you're using a Pi1/Zero (low power) device. Try using the
lr-fbalphaas arcade emulators. Excepting
lr-fbalpha(I think), you can hit TAB and then configure your gamepad(s) from withing the MAME menu (like in
mame4all), this way you'll be able to configure each controllers differently - if you wish.
So what you are saying is that I need to hookup the buttons on each controller so that they are the same value. IE button 1 for each controller is ''A''. I never had this problem before but will just rewire my board to make sure they match.
Thanks for the help