Help differentiating between two different controllers
-
@ncarrocino said in Help differentiating between two different controllers:
Both controllers are named USB GAMEPAD and are recognized as the same controller.
I would guess it's using the same driver for both controllers as they are similar.
I set up the nes controller at the initial prompt and and then added the snes controller into the config/snes/retroarch settings.
Instead of copying and pasting the NES controller config for the SNES config you could pull up the Emulationstation menu and go to "Configure Input" and configure the second SNES controller and you should be able to get the buttons the way you prefer.
-
@Riverstorm if I set up the snes for ES then the nes controller won't be able to back out at all as it would have no button set for b. By setting the nes both nes and snes are usable just the snes uses x as the b button.
I was hoping there was some sort of configuration of the es_input file where b could be set to 0 and 2
-
@ncarrocino said in Help differentiating between two different controllers:
I was hoping there was some sort of configuration of the es_input file where b could be set to 0 and 2
I see what you're saying. Since both controllers are using the same driver there's only one controller entry in es_input.cfg? I'm not sure how you would get around that.
-
@Riverstorm yes exactly. if put them both into the es config and it would use whatever one is above the other. Im also assuming there is no way to change the name device name to something else? i can functionally play both systems fine but after putting all the time into setting it up i would like to have it set right for the menu options as well.
-
This should help, but I haven't got around to trying it myself.
https://www.raspberrypi.org/forums/viewtopic.php?t=38070&p=315696
Edit: Scratch that. It won't help your ES problem.
Edit 2: I can think of a very technical way to solve it, but I haven't worked out the process completely myself yet. If you map the controllers into two virtual "js" controller slots, using xboxdrv to differentiate the controllers based on their hardware id rather than the their naming scheme, you'd be cooking with gas. Even after all that you'd still have to use the information in that link for RetroArch to see them as two different XBox controllers, so hopefully someone has a better idea.
-
@mediamogul Thanks for the input! i was hoping there was something easy i was just missing (im new to linux and all of this so it would be very easy to do so) but looks like it really is a more advanced issue! Is it possible to have a player 1 and player 2 in ES? or is that only in rom?
-
@ncarrocino said in Help differentiating between two different controllers:
@Riverstorm yes exactly. if put them both into the es config and it would use whatever one is above the other. Im also assuming there is no way to change the name device name to something else? i can functionally play both systems fine but after putting all the time into setting it up i would like to have it set right for the menu options as well.
I don't know if you could use a deviceGUID or some other simple value like "id" or "value" or something. Maybe someone with more advanced knowledge will add a comment. It seems simple enough. I've never run up against the issue because usually my joysticks are uniform in they are all the same model but I get preferring to use a NES stick for NES games and a SNES stick for SNES games.
-
@Riverstorm yeah i have a nes, snes, ps1, and n64 controller that all work fine independently except for the nes and snes mix up in ES. Im just OCD and want that snes button to be B and not X! Ill keep trying things. They are both made by the same company maybe if I just buy a different one it would have a different device name.
-
@ncarrocino said in Help differentiating between two different controllers:
They are both made by the same company maybe if I just buy a different one it would have a different device name.
I think they lump several sticks into one driver, especially generic ones, so there's a good chance it will still be the same driver. If possible you might want test it before investing in a new stick but I suppose that requires knowing someone that happens to have another stick laying around. :)
-
@Riverstorm i have two different ps1 controllers and they come up different so maybe its worth a shot! they were only like 7 dollars so not too much of an investment if it doesnt work out. Thanks for your help!
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.