-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to map multiple controllers from hubs like Mayflash DolphinBar? #641
Comments
Some drivers for the EMS USB2 PlayStation controller adapter also combine both controllers into the same joystick, so I'd like to know as well. Should these types of edge cases get HID drivers in SDL? |
Seems to be an issue with several other Mayflash adapters on Mac as well, where what shows up as multiple devices in DInput/udev presents as a single device for some reason on Mac. Obviously the one GUID one map scheme fails in this case, so yes, as @AliceLR suggests I think this would have to be SDL driver work. Best to take up with SDL project directly: https://github.com/libsdl-org/SDL |
Ahh, okay, thank you for the help! I WILL say that I'm allowed to use all four players on the Dolphin emulator (which I'm pretty sure is doing all this through SDL), even if they're all part of the same device-- is there anything I might be able to do to circumvent this issue in a similar way? |
Dolphin presumably has bespoke code for handling the device since the literature for both the software and the hardware product mention each other explicitly. Edit: https://github.com/dolphin-emu/dolphin/search?q=dolphinbar |
Ah, okay! For most of that stuff in the documentation, it's talking about Mode 4, which IS specifically for Dolphin and doesn't appear to work anywhere else. Mode 3 was created, at the time, as a way to use the controllers everywhere. But, obviously, lots has changed since then, and the DolphinBar is certainly not the first thing people think of when thinking of compatibility, hahaha. OpenEmu also has great support for Mode 3, and even brings up each of the controllers as separate, which is actually more than what Dolphin does in Mode 3. I assume that's also a great amount of custom work, though. Thank you for helping me get on the right track! |
Hi-hi! Sorry if this is a common-sense question, but I've been searching for a while now and can't seem to find an answer. Using SDL Gamepad Tool, I'm able to perfectly map the Player 1 controller on a MayFlash DolphinBar (which, in Mode 3, allows for four controllers to map to the same USB sensor bar), but when I try to add the remaining three mappings (which all come from the same GUID), I end up just overwriting the other three controllers. All four controllers use different buttons in the GUID, so the button presses themselves wouldn't override each other... Here's all four of my mappings...
Is there anything I can do to use all four? When I use Dolphin, which appears to use SDL2, it can read all four controllers' responses just fine, but just about every other program seems confused.
The text was updated successfully, but these errors were encountered: