Skip to content
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

Problem with a 6 buttons megadrive controller #18

Open
blc29seb opened this issue Apr 28, 2021 · 18 comments
Open

Problem with a 6 buttons megadrive controller #18

blc29seb opened this issue Apr 28, 2021 · 18 comments

Comments

@blc29seb
Copy link

Hi
I made the controller adapter for megadrive (SegaTwoControllersUSB)
tested under windows 10 with the windows game controller application
i have several problems

I use an official 6 buttons controller and an official 3 buttons
in 3 buttons mode everything works fine (even with the 6 buttons controller configured in 3 buttons (mode button))
but in 6 buttons mode when I use the Dpad I have some buttons that are activated (4,5,6,8,9)
for example (left +down):
pb_6but_controller

and when I push on the x (4) y(5) or z(6) buttons they blink instead of staying on like A,B and C buttons

What does the button 9 correspond to when there are only 8 buttons ?
Sincerely (sorry for my bad english ;) )

@MickGyver
Copy link
Owner

I guess there is something with your wiring/soldering is causing this issue.

Button 9 corresponds to the HOME button on the 8bitdo M30 2.4G wireless MD/Genesis controller.

@venice1200
Copy link

Using your "SegaControllerUSB" Sketch.

My two Sega 3 Button Controllers Model 1650 and 1650-50 are working fine.
My Sega 6 Button Controller Model SJ-6000 doesn't work at all.

Any Idea's?

@blc29seb
Copy link
Author

blc29seb commented May 9, 2021

Hi
It's not a problem of welding or anything else
I checked everything
and with this code (https://github.com/thinghacker/DualUSBSegaController/tree/master/examples/DualUSBSegaController)
it works fine but I can't use your TX1 and RX0 connections
I will have to redo my soldering to wire them on other ports
I read this
https://forum.arduino.cc/t/using-digital-pin-0-and-1-just-like-any-other-digital-pin/462591
about RX and TX pin

Best regards

@venice1200
Copy link

venice1200 commented May 12, 2021

Just a note, I got my 8BitDo Genesis M30 2.4g Controller which works perfect with the "SegaControllerUSB" Sketch. Really cool.

Need to double check why the Sega 6 Button Controller Model SJ-6000 doesn't work at all.
I will try it with the MiSTer's USB 3.0 based Snac Adapter next week.

@MickGyver
Copy link
Owner

MickGyver commented May 13, 2021

Using your "SegaControllerUSB" Sketch.

My two Sega 3 Button Controllers Model 1650 and 1650-50 are working fine.
My Sega 6 Button Controller Model SJ-6000 doesn't work at all.

Any Idea's?

Please try the "SegaControllerUSB" sketch in this branch:

https://github.com/MickGyver/DaemonBite-Retro-Controllers-USB/tree/SEGA-6-Button

@venice1200
Copy link

venice1200 commented May 13, 2021

Tested. Nothing better with Sega 6 Button. No function at all.
And from the 8BitDo Genesis M30 2.4g only Buttons ABC and Start are working.
Back on "Main".

@MickGyver
Copy link
Owner

Tested. Nothing better with Sega 6 Button. No function at all.
And from the 8BitDo Genesis M30 2.4g only Buttons ABC and Start are working.
Back on "Main".

Yes, I just noticed it was a stupid attempt at a fix, I will look at it some more when I have the time.

@venice1200
Copy link

No hurry...

@gregdick1
Copy link

I've run into a similar problem with my SegaTwoControllersUSB adapter and the retro-bit official 6 button controllers. Without pressing anything, x or y will fire seemingly randomly.
I made two adapters. They both behave the same. They work perfectly with an original 3 button controller and with some non-branded cheap 6 button controllers I got off of ebay. Very interesting that the cheap one works fine. I don't have an original 6 button to try.

I also tried the SegaControllerUSB with 6 button hack on your other branch. Then both non-branded and retro-bit 6 button controllers only had the dpad, A, B, C, and Start working.

@Jmaxime89
Copy link

Jmaxime89 commented Sep 24, 2021

Hello I'm wondering if there is any development on this ? I have a licensed retrobit 6 button controllers and they don't work on the two daemon bite I've made for the mister

@quidamphx
Copy link

quidamphx commented Sep 29, 2021

I have similar issues, which led me to double check my wiring.

I'm using MiSTer input test, and Windows 10 USB Game controller properties.

I wonder if this issue is somehow related to device IDing? When I have Player 1 connected with a 2.4Ghz 8bitdo controller, it works perfectly. When I add another receiver to Player 2, it causes sporadic inputs on Player one.

When I connect an OEM Genesis 1650 as Player 2 (still with the 8bitdo as Player 1), both function correctly. Narrowing it down, either it's getting confused by 2 controllers that are the same, or something related to the XYZ of Player 2.

If I knew more about the coding I'd look into it, but I can say there's an issue with Player 2 using 6 button, OR controllers being ID'd as the same.

I should also add that I continuity checked ALL pads on the Arduino, and nothing adjacent is bridged at all.

@Jmaxime89
Copy link

Interesting, I will try my wired licensed retrobit 6 button with a OEM controller plugged in. It would be very interesting to understand why this particular controller doesn't work with the DaemonBite but in all of my Sega Genesis (Genesises?) they work flawlessly

@quidamphx
Copy link

quidamphx commented Sep 30, 2021 via email

@emarleau
Copy link

emarleau commented Oct 9, 2021

I would like to point out that the issue with the Retro-Bit 6 button controller is also happening with the SNAC adapter.
FB_IMG_1633798943523

@venice1200
Copy link

venice1200 commented Oct 9, 2021

Which Core did you use for testing?

@emarleau
Copy link

emarleau commented Oct 9, 2021

Genesis core. I'm using a test rom called Sega Genesis 6 button controller test https://www.romhacking.net/homebrew/126/

@treeswithhumanfaces
Copy link

I was able to fix this for retro-bit officially licensed controllers by commenting out the code that captures home button input.

Lines 162 and 234 in SegaControllers32U4.cpp

@gregdick1
Copy link

@treeswithhumanfaces I tried commenting those two lines, but it didn't fix the problem for my retro-bit controllers. Did you have any other changes you experimented with that might've gotten it working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants