Issue with having two Mayflash adapters
-
I think this has something to do with the fact that the Mayflash is supposed to be plugged into the computer first, and then the controllers second. I have the Wii to USB adapter (which I modified and put a Pi Zero inside of), and when the controllers freak out I just unplug them and plug them back in. It also seems to be fine if you boot up without them plugged in as well.
Maybe something could be added to the start up script where in once Emulation station is loaded all USB devices can unload and reload real quick so as to reset all devices?
-
Any other thoughts or suggestions on a possible fix for this?
-
@Jeebs adapters that accept various controllers of various types have this issue. The OS get the adapter name, not the controller name.
My suggestion is: let's say you wanna use your N64 most of the time, and the SNES controller for SNES games. Then you should configure your N64 in emulationstation and hardcode the mappings for SNES in the SNES-specific retroarch.cfg (instructions here)
-
@meleu said in Issue with having two Mayflash adapters:
@Jeebs adapters that accept various controllers of various types have this issue. The OS get the adapter name, not the controller name.
My suggestion is: let's say you wanna use your N64 most of the time, and the SNES controller for SNES games. Then you should configure your N64 in emulationstation and hardcode the mappings for SNES in the SNES-specific retroarch.cfg (instructions here)
Hmm so there's no way to have both the N64 and SNES Adapters/Controllers working at the same time within Emulation Station?
I'd like to be able to plug in the N64 Adapter and controller when playing N64. Navigate around in ES. And when I want to play SNES do the same.
-
Is there a way to have two buttons configured for inputs for ES?
In my case I was wondering if I could edit the HuiJiaUSBGamePad.cfg and assign both the D-Pad for N64 and SNES.
Using the Up button for example.
N64 is assigned as input_up_btn = "h0up"
SNES is assigned as input_up_axis = "-1"Is there a way to combine this so that I can use Up/Down/Left/Right in ES for both controllers at the same time? That's the only thing wrong with my my current setup. All of the other buttons seem to work fine with my setup.
-
@Jeebs said in Issue with having two Mayflash adapters:
Using the Up button for example.
N64 is assigned as input_up_btn = "h0up"
SNES is assigned as input_up_axis = "-1"Try it!
I think it will work.
edit: oops! I meant, it will work for retroarch, I don't know in emulationstation... -
@meleu said in Issue with having two Mayflash adapters:
@Jeebs said in Issue with having two Mayflash adapters:
Using the Up button for example.
N64 is assigned as input_up_btn = "h0up"
SNES is assigned as input_up_axis = "-1"Try it!
I think it will work.
edit: oops! I meant, it will work for retroarch, I don't know in emulationstation...Doesn't work for ES. Is there a way to have multiple buttons assignments in ES? Two buttons for Up,Down,Left,Right so that SNES and N64 controllers can be used at the same time.
-
I just wanted to point out that pretty much this same exact problem happens with TONS of generic controllers which all overwrite the same config file in retroarch-joypads as well...
I don't see how this isn't, how does the saying go: a super huge elephant in the room? Like this is a HUGE deal...not being able to use controllers of different types at the same time. Really?
-
@Jeebs @Dochartaigh
hi! if you are able to access the command line, please plug in both your conflicting controllers, and then run:
dmesg -w
and paste the output here please :)i have a possible work-around for you.
-
I've been fighting this same problem today. I have a bunch of different RetroLink controllers (Atari 2600, NES, N64, Genesis) and they all overwrite each other. My workaround was what @meleu said. I had to hardcode the mappings for each specific retroarch.cfg file and then I configured the NES controller through ES. The fact that you can hot-swap controllers makes it not too bad. I just use the NES controller to navigate and once I fire up a ROM, unplug it and plug in the proper controller.
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.