Several pads of different kinds
-
@mitu Yes, it worked before but since I did the advised setup I have this strange behavior.
I've just realized that the A (selection) button works in the menu of EmulationStation which appears with start button. But it does not select an emulator (when this menu is closed): when on the home page, the A button only skips to the next emulator, so I can not enter in the emulator game selection menu. I'm lost...
-
Save the
.cfg
files you created, then reset your input configuration from RetroPie-Setup -> Configuration/Tools -> Emulationstation. After you reset the configuration, configure just the SNES pad, make sure you can navigate and operate EmulationStation. Copy back (to their original location) the.cfg
files and then start an emulator and see if the SNES controller works. -
@mitu I've just resetted the configuration, I'll let you know how the remaining goes.
-
I've done as advised and the result is the same: it works well with the SNES pad and it doesn't work anymore with the N64 pad (no more A button). BUT they share IDs, actually: I was looking at the wrong device previously, sorry.
What shall I do, now?
-
The real joke being that I have 2 more SNES pads with the same ID...
-
You can use the SNES controller for most games and navigating EmulationStation and enable the N64 controller just for N64 games.
Create a
joypad
folder in\\retropie\configs\n64\
and copy your N63 controller.cfg
file that you saved.
Add at the beginning of the\\retropie\configs\n64\retroarch.cfg
file:joypad_autoconfig_dir="/opt/retropie/configs/n64/joypad" input_player1_joypad_index=1 input_player1_joypad_index=0
This will make the 2nd controller (the N64 one) act as Player 1 and apply the joypad auto-configuration file you copied. You can still use the SNES style controller for other games and for navigating EmulationStation.
The real joke being that I have 2 more SNES pads with the same ID..
That shouldn't be a problem if they're identical.
-
I did as you said but my A button still doesn't work on the SNES pad. But the N64 pad work in Emulation Station, may be I did something wrong? I was supposed to copy the N64 config file, right? Not move it?
-
Am I not supposed to identify the two pads in some way or another?
In the SNES file I have this:
input_device = "usb gamepad " input_driver = "udev" input_vendor_id = "2064" input_product_id = "58625" input_device_display_name = "SNES USB Gamepad"
and in the N64 file I don't have any USB ID:
input_device = "usb gamepad " input_driver = "udev"
-
@alien said in Several pads of different kinds:
I did as you said but my A button still doesn't work on the SNES pad.
In-game or in EmulationStation ?
But the N64 pad work in Emulation Station, may be I did something wrong? I was supposed to copy the N64 config file, right? Not move it?
The idea is to use the SNES controller as a primary controller and don't configure the N64 controller in EmulationStation. Since you have a copy of its configuration, the modifications I posted earlier would make the N64 controller work for N64 games, while leaving the SNES controller to work in the rest of the games/systems.
and in the N64 file I don't have any USB ID:
With the configuration I posted, it doesn't matter - the name should be enough for RetroArch to load the configuration of the controller.
-
I got it! I was supposed to copy the N64 config file from my backup, not from /opt/retropie/configs/all/retroarch/autoconfig
It almost works, now: I can navigate normally with the SNES pad in Emulation Station and I can play N64 games. Unfortunately, the SNES pad doesn't respond in SNES games.
Any more ideas?
-
Try plugging the N64 controller 2nd, so the SNES controller is always P1.
-
@mitu I just gave it a try: I can play SNES games without a N64 controller plugged in, but as soon I plug the N64 controller, SNES games react to it, hence SNES pads are deactivated.
I thought I could maybe some day have all my pads plugged in and just pick a SNES pad for SNES games or a N64 pad for N64 games: doesn't it all work like that?
Cheers!
-
It should work. When you start a SNES game, what's the order in which the gamepads are detected ? There should be a notification for each controller when the game starts.
-
@mitu I know what you mean. Unfortunately, the pads have the same name (namely "USB gamepad"), so the notifications just display "USB gamepad configured in port #1" and "USB gamepad configured in port #2".
When I plug the SNES pad on the top right USB port of the Pi, I can play SNES games (presumably thanks to it being taken as the player 1) but can't play N64 games and when I plug the N64 pad on the top right USB port of the Pi, I can play N64 games, but can't play SNES games.
So it looks like the Pi needs me to plug the pad to use by Player 1 in the top right port. Is that expected?
Isn't there a way to set up the system so that I have a SNES pad and a N64 pad, all two on a certain USB port and to use them for their expected console type? Maybe I'm asking too much here, sorry about that.
Fun fact: I have a Megadrive pad and a NES pad, too. :-)
-
@alien said in Several pads of different kinds:
the notifications just display "USB gamepad configured in port #1" and "USB gamepad configured in port #2".
Ah yes, why did I forget ?
When I plug the SNES pad on the top right USB port of the Pi, I can play SNES games (presumably thanks to it being taken as the player 1) but can't play N64 games and when I plug the N64 pad on the top right USB port of the Pi, I can play N64 games, but can't play SNES games.
So it looks like the Pi needs me to plug the pad to use by Player 1 in the top right port. Is that expected?Not sure if the port is the deciding factor, but the order in which they're connected should matter - 1st controller connected should be the P1 always. That's why the
retroarch.cfg
options I posted a while back will switch the order, so that for N64 the 2nd controller becomes P1.Isn't there a way to set up the system so that I have a SNES pad and a N64 pad, all two on a certain USB port and to use them for their expected console type? Maybe I'm asking too much here, sorry about that.
It should be possible. If you disconnect the N64 controller, then connect it back, is the SNES controller working in games ?
Fun fact: I have a Megadrive pad and a NES pad, too. :-)
The more, the merrier.
-
It works by having only the right pad for the console plugged in at a time. I'll stick to that since my daughter has a USB hub with a switch for each port on her Pi. So I can have all pads plugged in at once but only use the one I want thanks to the power button on the hub.
I've set up four kinds of pads: a NES pad, 3 SNES pads, a N64 pad and a Megadrive pad. Thanks to your setup (with retroarch.cfg files) I don't have to map the pad buttons anymore: I can just power them on and off with the button on my hub and enjoy any console that I like.
Thank you so much for my daughter & cheers from France! :-)
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.