Page 1 of 1
Daemonbite adapter problem in 2 player mode
Posted: Sat Mar 27, 2021 5:28 pm
by rgn
Hello.
I've build my own Daemonbite adapter for Genesis controllers to use my Joyzz (2.4 GHz) controllers with my MiSTer. Tested it with a Gens emulator on PC and it works fine for both players. I checked the soldering and it is ok. I also tested it with
https://gamepad-tester.com/
Though the button codes differs from each other (say, B0 for the 1p != B0 for the 2p), but anyway, the device registers different buttons that can be mapped.
But when I connect it to MiSTer and try to bind the buttons in the core (any core), it works strange. When I bind a player, it breaks the binding for the second player.
System update didn't help.
Did anyone experience the same problem?
Please, help/
Re: Daemonbite adapter problem in 2 player mode
Posted: Sat Mar 27, 2021 7:21 pm
by rgn
Ah... I debugged the MiSTer binary and it seems that it works incorrectly with the devices that have 2 controllers under the same ID (like daemonbite)
Did anyone try 2p mode with the adapter?
Re: Daemonbite adapter problem in 2 player mode
Posted: Sat Mar 27, 2021 8:00 pm
by jca
Someone else mentioned this problem (also with a Daemonbite) and I am not sure if it was resolved. Try to search in the forum.
Re: Daemonbite adapter problem in 2 player mode
Posted: Sat Mar 27, 2021 8:08 pm
by rgn
nah, not the same problem
Re: Daemonbite adapter problem in 2 player mode
Posted: Sat Jul 10, 2021 9:01 am
by dizzeee
Hi,
any solution to this problem, because i have the exact same.
Got an Egret II with a regular controller harness plugged into two Arduino Micros flashed with Daemonbite Firmwares.
First Player that i programm with buttons works fine. The second player i configure works fine too, but the first has mixed up Inputs and dont function well.
Is there any solution to this problem?
Re: Daemonbite adapter problem in 2 player mode
Posted: Sat Jul 10, 2021 11:11 am
by pacoarcade
Although maybe it's not the ideal solution I use a daemonbite controller for each player.
Re: Daemonbite adapter problem in 2 player mode
Posted: Sat Jul 10, 2021 3:57 pm
by PikWik
was going to say the same as paco.
i would just use 2 separate adapters, as running 2 controllers of one board does add a tiny amount of input lag (~2ms as suggested by porkchopexpress)
2 separate adapters is also how i run my bartop with 2 arcade sticks
Re: Daemonbite adapter problem in 2 player mode
Posted: Sat Jul 10, 2021 9:29 pm
by dizzeee
Thanks for your quick replies.
Sorry for bothering with my own foolishness. I just didnt configure the conroller harness wiring the same, so it couldnt work. Everythings works great now.
Re: Daemonbite adapter problem in 2 player mode
Posted: Wed Jul 14, 2021 10:11 pm
by Matsu
I also built the Daemonbite two controller adapter. And I have zero problems, both controllers function as separate inputs.
Make sure you use the files from here:
https://github.com/MickGyver/DaemonBite ... rollersUSB
Validate the script, and make sure no errors show up. Then upload the script.
Did you connect both db9 connectors to the shared vcc and ground pins? Also make sure to make the solder bridge in the upper left corner labeled J1.
If you still have problems, maybe it has to do with some conflicting config files on the mister... try deleting all the files in your input folder.
Hope you figure it out!
Re: Daemonbite adapter problem in 2 player mode
Posted: Mon Jul 26, 2021 10:43 am
by robinmasters
hi,
I'm facing the same issue.
2 arduino pro micros, same id.
each one is working flawlessly when plugged alone.
with both plugged as p1 and p2 eventually everything gets messed up,
buttons get deactivated, or get swapped...
I have a lot of arduinos but all come from the same manufacturer.
I'm waiting for new ones, to see if having different IDs solves it.
is deamonbite aware?
a software workaround may be possible?
Re: Daemonbite adapter problem in 2 player mode
Posted: Mon Jul 26, 2021 3:04 pm
by aberu
If you have two controllers with the same ID's this is always going to be a problem since the ID of the usb device is used to distinguish it from other input devices. This is inherent to MiSTer.
Re: Daemonbite adapter problem in 2 player mode
Posted: Mon Jul 26, 2021 7:32 pm
by robinmasters
ok thank you for the answer.
so every daemonbite 2p users buy 2 different arduino from 2 different manufacturers?
if I remember well the ID = vendor:product
if it's the case I'm surprised this info is not spread everywhere
Re: Daemonbite adapter problem in 2 player mode
Posted: Tue Jul 27, 2021 4:30 am
by ItalianGrandma
robinmasters wrote: ↑Mon Jul 26, 2021 7:32 pm
ok thank you for the answer.
so every daemonbite 2p users buy 2 different arduino from 2 different manufacturers?
if I remember well the ID = vendor:product
if it's the case I'm surprised this info is not spread everywhere
I have daemonbites for NES/SNES/Genesis/Neo Geo and have used them for 2P with no issues (bought my arduinos from the same eBay seller too). The one thing I did was edited the “gp_serial” line in the .ino file that you flash to the arduino. I named one adapter OriginalDescription_P1 and the other OriginalDescription_P2. After defining the joystick buttons for both, the MiSTer has a separate configuration file for each adapter.
Re: Daemonbite adapter problem in 2 player mode
Posted: Wed Jul 28, 2021 9:25 pm
by robinmasters
well,
I received new arduino pro micros from other manufacturers.
always the same Id.
the only different one is the official arduino micro which is 2341:8037 instead of 2341:8036 for the pro micro clones.
but it is definitely possible to use two arduinos with the same Id on a mister by adjusting the gp_serial variable in the. ino file.
add _p1 for the player 1, recompile and upload
add _p2 for the player 2, recompile and upload
and so on...
works flawlessly
Re: Daemonbite adapter problem in 2 player mode
Posted: Wed Oct 27, 2021 7:39 pm
by rgn