MickGyver / DaemonBite-Retro-Controllers-USB

A collection of retro controller USB adapters (SNES, NES, Mega Drive/Genesis, Master System, Atari, Commodore, Amiga and Amiga CD32)
GNU General Public License v3.0
296 stars 61 forks source link

NES PAL original controller vs NES clonic controller #28

Open sromeroi opened 1 year ago

sromeroi commented 1 year ago

I sharing the same Arduino proMicro for a SNES-to-USB and NES-to-USB daemonbyte: the arduino is connected to a male DB9 connector and my NES and SNES adaptors are connected to the arduino with a female DB9 connecting DATA1, DATA2, CLOCK, LATCH, GND and VCC properly.

The SNES controllers work perfectly both original and clonics.

The NES controllers are also detected in the PC as a 2 axes, 8 buttons controller.

My "clonic" NES controllers work perfectly (-32767 to +32767 on axes, A and B in buttons 0 and 2, SELECT and START in 6 and 7).

But my original PAL NES controllers report buttons 1, 3, 4, and 5 as pressed, making me impossible to use the controller in setups where I have also configured actions for those extra buttons.

Is it maybe because of region protection or something like that? Is it possible to fix this via software without forcing manually in the code buttons 1,3,4,5 = 0 (that would break the SNES controller setup)?

Please see screenshots attached to clarify the issue.

0 - Photo 27-9-22, 21 48 06 2 - Photo 27-9-22, 21 49 02 3 - Photo 27-9-22, 21 50 44 clonic_controller_not_pressing_anything clonic_controller_pressing_a_and_b original_controller_not_pressing_anything original_controller_pressing_a_and_b

Thanks!

sromeroi commented 1 year ago

Maybe this would fix my PAL controller to work with DaemonBite NES adapter?

https://www.youtube.com/watch?v=0xYpettDwL0 (min 5:25).