Support for more than 2 controllers (Amiga, C64, NES, SNES)

https://github.com/MiSTer-devel/Main_MiSTer/wiki

Moderators: Mug UK, Zorro 2, Greenious, spiny, Sorgelig, Moderator Team

Flausch
Atariator
Atariator
Posts: 27
Joined: Thu Oct 18, 2018 6:27 pm
Location: Germany

Re: Support for more than 2 controllers (Amiga, C64, NES, SNES)

Postby Flausch » Wed Jan 16, 2019 5:45 pm

high5 wrote:tried the >2 controllers support today with some dual DB9 to USB adapters which connect two db9 joysticks to a single usb port.
First one is some years old (from http://www.retro-donald.de (offline)), second one ist "RetroFun! Twin Connect 2x Retro joysticks to PC" from http://electronica4u.com/
Both are working fine under Windows (Winuae shows two input devices per adapter). At least the last one should work under Linux: Our adapter installs without additional drivers, on every system starting from Windows XP to Windows 10, Linux and other supporting HID devices.

Both of them give same results on minimig and SNES core. Both connected joysticks controll the same player. On the Linux side lsusb just shows one single device per adapter.

Any ideas if this dual adapters may work with MiSTer or would I need a dedicated adapter per joystick?


I have the same DB9 adapter and had the same problem!
Yesterday I found out Donald's adapter was sold with older firmware. I have two of them, bought at the end of 2015 and mid 2016.

While the sticker on the Eeprom says it has the latest firmware from 3/2015, both really had the old one and therefore both work only with one controller under Linux.
I had them flashed with the last firmware and now they both work as intended with the MiSTer and two controllers per adapter.


The other adapter might have this problem:
viewtopic.php?f=117&t=33360
Last edited by Flausch on Wed Jan 16, 2019 6:21 pm, edited 1 time in total.

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 5248
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Support for more than 2 controllers (Amiga, C64, NES, SNES)

Postby Sorgelig » Wed Jan 16, 2019 6:19 pm

so, then just need to update the adaptor's firmware.

high5
Atari User
Atari User
Posts: 31
Joined: Thu Dec 27, 2018 10:29 pm

Re: Support for more than 2 controllers (Amiga, C64, NES, SNES)

Postby high5 » Wed Jan 16, 2019 7:42 pm

Thanks for the info, Flausch. Will try to get them updated.

high5
Atari User
Atari User
Posts: 31
Joined: Thu Dec 27, 2018 10:29 pm

Re: Support for more than 2 controllers (Amiga, C64, NES, SNES)

Postby high5 » Wed Jan 23, 2019 12:30 am

Getting there. After flashing new hexagon firmware I can confirm Donald's adapter to work fine and also Mayflash Md Mega Drive Genesis Controller Adapter for PC USB advised by bbond007.

Tried some Amiga 4 player games like Dyna Blaster and Bug Bomber. One thing I noticed I had to remove my mouse to get all players to work or else one of the players did not work. Joy Swap in Core conf did not help.
Can anyone confirm this?

In Dyna Blaster I was able to use mouse + 4 joysticks as whdload image has option to choose "4 joy alt." or "4 joy default" but not quite sure what this does.

/dev/input with mouse attached

Code: Select all

drwxr-xr-x  4 root root     300 Jan 23 00:59 .
drwxr-xr-x 11 root root    1320 Jan 23 00:59 ..
drwxr-xr-x  2 root root     240 Jan 23 00:59 by-id
drwxr-xr-x  2 root root     240 Jan 23 00:59 by-path
crw-rw----  1 root input 13, 64 Jan 23 00:59 event0
crw-rw----  1 root input 13, 65 Jan 23 00:50 event1
crw-rw----  1 root input 13, 66 Jan 23 00:50 event2
crw-rw----  1 root input 13, 67 Jan 23 00:51 event3
crw-rw----  1 root input 13, 68 Jan 23 00:51 event4
crw-rw-r--  1 root input 13,  0 Jan 23 00:50 js0
crw-rw-r--  1 root input 13,  1 Jan 23 00:50 js1
crw-rw-r--  1 root input 13,  2 Jan 23 00:51 js2
crw-rw-r--  1 root input 13,  3 Jan 23 00:51 js3
crw-rw----  1 root input 13, 63 Jan  1  1970 mice
crw-rw----  1 root input 13, 32 Jan 23 00:59 mouse0
without mouse

Code: Select all

drwxr-xr-x  4 root root     260 Jan 23 01:01 .
drwxr-xr-x 10 root root    1260 Jan 23 01:01 ..
drwxr-xr-x  2 root root     200 Jan 23 01:01 by-id
drwxr-xr-x  2 root root     200 Jan 23 01:01 by-path
crw-rw----  1 root input 13, 65 Jan 23 00:50 event1
crw-rw----  1 root input 13, 66 Jan 23 00:50 event2
crw-rw----  1 root input 13, 67 Jan 23 00:51 event3
crw-rw----  1 root input 13, 68 Jan 23 00:51 event4
crw-rw-r--  1 root input 13,  0 Jan 23 00:50 js0
crw-rw-r--  1 root input 13,  1 Jan 23 00:50 js1
crw-rw-r--  1 root input 13,  2 Jan 23 00:51 js2
crw-rw-r--  1 root input 13,  3 Jan 23 00:51 js3
crw-rw----  1 root input 13, 63 Jan  1  1970 mice

Flausch
Atariator
Atariator
Posts: 27
Joined: Thu Oct 18, 2018 6:27 pm
Location: Germany

Re: Support for more than 2 controllers (Amiga, C64, NES, SNES)

Postby Flausch » Wed Jan 23, 2019 6:58 am

I am using a Logitech K400 keyboard, which has an integrated Touchpad as Mouse. I did not find a problem using 4 controllers with Dynablaster, which were connected through two of Donald's adapters.

When loading Dynablaster I can choose in WHDLoad "3 Players" and "5 Players (joy. alt.)". First one is two normal controllers + keyboard player, the second is four controllers + one keyboard player.

high5
Atari User
Atari User
Posts: 31
Joined: Thu Dec 27, 2018 10:29 pm

Re: Support for more than 2 controllers (Amiga, C64, NES, SNES)

Postby high5 » Wed Jan 23, 2019 12:27 pm

Could you please check with Bug Bomber (one Player not working as long as mouse is attached) and Carnage (all players work but if you use mouse/touchpad it interferes with one of the players).

Flausch
Atariator
Atariator
Posts: 27
Joined: Thu Oct 18, 2018 6:27 pm
Location: Germany

Re: Support for more than 2 controllers (Amiga, C64, NES, SNES)

Postby Flausch » Wed Jan 23, 2019 10:50 pm

I checked Bug Bomber and Carnage using two adapters with four joysticks.

Bug Bomber: No problem
Carnage: When I press the mouse button, one player rotates. But as soon as I press the joystick button, the car is controlled by the joystick again and works as intended. So... IMHO no problem.

high5
Atari User
Atari User
Posts: 31
Joined: Thu Dec 27, 2018 10:29 pm

Re: Support for more than 2 controllers (Amiga, C64, NES, SNES)

Postby high5 » Thu Jan 24, 2019 8:27 pm

Thanks for testing, Flausch. Retried today and now Bug Bomber works for me, too. 8O :D
Maybe it has something to do with removing/reinserting usb joystick adapter while MiSTer is on. As long as all usb adapters are attached when powering on it's working great every time. Thanks again.

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 5248
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Support for more than 2 controllers (Amiga, C64, NES, SNES)

Postby Sorgelig » Thu Jan 24, 2019 8:43 pm

You can reset the MiSTer instead of powering it off. 2-3 seconds and problems is solved.

high5
Atari User
Atari User
Posts: 31
Joined: Thu Dec 27, 2018 10:29 pm

Re: Support for more than 2 controllers (Amiga, C64, NES, SNES)

Postby high5 » Thu Jan 24, 2019 10:49 pm

Yep, thanks for pointing out. Great this is working out now.


Return to “MiSTer”

Who is online

Users browsing this forum: No registered users and 7 guests