sonik-br / RetroZordAdapter

Arduino multiple controller adapter
GNU General Public License v3.0
23 stars 2 forks source link

Densha De Go controller #6

Open 5a796d opened 2 weeks ago

5a796d commented 2 weeks ago

please add support for Densha de Go! Two-Handle Controller (SLPH-00051)

source https://github.com/SukkoPera/PsxNewLib?tab=readme-ov-file#compatibility-list

sonik-br commented 2 weeks ago

What's the use case? To use with emulators? To use with the PC version of the game? I do have a custom firmware that support the ddgo device but as it's a very custom output map, I'm not going to merge it into the main code...

5a796d commented 2 weeks ago

It would be nice to be able to use it for PC gaming. densha de go 1-2-3 I use them on playstation

sonik-br commented 2 weeks ago

What would be "pc gaming"? The ddgo controller outputs in a very specific way. IE: each handle position can send one or more button press. Check this out https://marcriera.github.io/ddgo-controller-docs/controllers/classic/tech/

5a796d commented 2 weeks ago

I mean train simulators for PC. I understand, it's rather complicated, never mind, I'll make another adapter. It was just to have one that is compatible with all psx devices

sonik-br commented 2 weeks ago

I have a firmware that outputs as a PS2 Two Handle controller. Not much useful as the ps2 game do support ps1 train controllers. I can also code a firmware that just outputs the digital buttons as a generic usb gamepad. You would need a way to map it and use with train simulators on pc. That would work?

5a796d commented 2 weeks ago

I have no idea how it would work, I only know that I saw it done on a video on YouTube, it used the PS1 controller with the PC .

and newpsxlib seems to implement it

sonik-br commented 2 weeks ago

The densha de go controller works just as a ps1 digital gamepad. The difference is that it outputs the handle position as buttons. I can change the code for you.

5a796d commented 2 weeks ago

if you need to change it all the time to be able to use other controllers, don't change the code, I repeat, it was to have an adapter that works with all controllers.

5a796d commented 2 weeks ago

thanks anyway.

I will soon try the adapter with negcon, hoping it doesn't have the central dead zone like with the adapters on sale

sonik-br commented 2 weeks ago

if you need to change it all the time to be able to use other controllers, don't change the code, I repeat, it was to have an adapter that works with all controllers.

Ok. The big problem is with how the dpad works. Dpad data on a USB gamepad can't have opposing directions pressed at the same time. ie: can't press left and right at the same time. The DDGO controller does that! I would need to send the dpad as four individual buttons. Still need to figure out a good way to do this. And this is also required to support dance mats.

5a796d commented 2 weeks ago

if you need to change it all the time to be able to use other controllers, don't change the code, I repeat, it was to have an adapter that works with all controllers.

Ok. The big problem is with how the dpad works. Dpad data on a USB gamepad can't have opposing directions pressed at the same time. ie: can't press left and right at the same time. The DDGO controller does that! I would need to send the dpad as four individual buttons. Still need to figure out a good way to do this. And this is also required to support dance mats.

If you implement it in the future it will be welcomed :)

in the meantime I tried it with negcon, FANTASTIC!

Thanks so much for the adapter!