USB4MAPLE adapter

Place for discussing homebrew games, development, new releases and emulation.
brucechapolin
noob
Posts: 3

Re: USB4MAPLE adapter

Post by brucechapolin »

Hi guys.

Thanks for this. I've built my own one and works fine with PS5 Dual sense and my xbox one controller. However, it doesn't work with the Hori Fightstick ALpha for PlayStation. It has three modes, PS5, PS4 and PC and none of them works.

Testing on Virtua Fighter for example, the game just put a message that a controller could not be detected. I can see the controller get power as the LED is on.

I've tried as well with another fight stick PCB, a very old one I think named "Joytron paewang Revolution PCB" also doesn't detect.

Any suggestion on what could be done to make them to work? Thanks!

manksalot
rebel
Posts: 20
Dreamcast Games you play Online: Driving Strikers

Re: USB4MAPLE adapter

Post by manksalot »

megavolt85 wrote: Wed Oct 23, 2024 2:58 pm fixed all buttons and axes mode for xbox360 controller and added oled display support
I2C display 0.96" 128x64 on ssd1306 controller.
theoretically 1.3" 128x64 display on SH1106 controller should work.
VCC should be connected to 3v3, GND to GND, SDA to GP26, SCL to GP27
Hi, has anybody else tried the 1.3" SH1106 screen? I connected mine today, but it stays blank while the adapter works otherwise. Flash drive connected and working. I'll probably just get the other screen since it's cheap, but I wondered if there's something I can do to make this work.
PXL_20250223_005953972.LONG_EXPOSURE-01.COVER.jpg

User avatar
lostinspace
shadow
Posts: 12
Dreamcast Games you play Online: not yet

Re: USB4MAPLE adapter

Post by lostinspace »

Don't know if anyone ever tried this, but it's possible to build a custom controller with a cheap Arduino microcontroller that "act" as a XBOX 360 gamepad. In doing that, Usb4Maple, and therefore Dreamcast will detect it. It works surprisingly well...I might end up doing a weird peripheral. :D

Big thanks to megavolt for Usb4Maple, amazing

Ps. I am only doing this for fun
Last edited by lostinspace on Wed Mar 05, 2025 10:21 am, edited 1 time in total.

brucechapolin
noob
Posts: 3

Re: USB4MAPLE adapter

Post by brucechapolin »

Hi guys.

I've collected the debug log from Putty, using a USB UART cable.

This is for the controller Hori Fighting Stick Alpha for PS5.

There are three modes. PS4, PS5 and PC. Logs below.

PC MODE
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2025.02.26 15:54:03 =~=~=~=~=~=~=~=~=~=~=~=
HIDStarting
Starting
HID device address = 1, instance = 0 is mounted
HID Interface Protocol = None VID = 0F0D PID = 011E
HID has 0 reports
VID = 0f0d, PID = 011e
Protocol 0

PS4 Mode
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2025.02.26 15:52:57 =~=~=~=~=~=~=~=~=~=~=~=
Starting
HID device address = 1, instance = 0 is mounted
HID Interface Protocol = None VID = 0F0D PID = 011C
HID has 2 reports
VID = 0f0d, PID = 011c
Protocol 0
HID receive desc report:
05 01 09 05 A1 01 85 01 09 30 09 31 09 32 09 35
15 00 26 FF 00 75 08 95 04 81 02 09 39 15 00 25
07 35 00 46 3B 01 65 14 75 04 95 01 81 42 65 00
05 09 19 01 29 0E 15 00 25 01 75 01 95 0E 81 02
06 00 FF 09 20 75 06 95 01 81 02 05 01 09 33 09
34 15 00 26 FF 00 75 08 95 02 81 02 06 00 FF 09
21 95 36 81 02 85 05 09 22 95 1F 91 02 85 03 0A
21 27 95 2F B1 02 06 80 FF 85 E0 09 57 95 02 B1
02 C0 06 F0 FF 09 40 A1 01 85 F0 09 47 95 3F B1
02 85 F1 09 48 95 3F B1 02 85 F2 09 49 95 0F B1
02 85 F3 0A 01 47 95 07 B1 02 C0


PS5 MODE
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2025.02.26 15:51:41 =~=~=~=~=~=~=~=~=~=~=~=
HIDStarting
Starting
Starting
Starting
HID device address = 1, instance = 0 is mounted
HID Interface Protocol = None VID = 0F0D PID = 0184
HID has 2 reports
VID = 0f0d, PID = 0184
Protocol 0
HID receive desc report:
05 01 09 05 A1 01 85 01 09 30 09 31 09 32 09 35
09 33 09 34 15 00 26 FF 00 75 08 95 06 81 02 06
00 FF 09 20 95 01 81 02 05 01 09 39 15 00 25 07
35 00 46 3B 01 65 14 75 04 95 01 81 42 65 00 05
09 19 01 29 0E 15 00 25 01 75 01 95 0E 81 02 06
00 FF 09 21 95 0E 81 02 06 00 FF 09 22 15 00 26
FF 00 75 08 95 34 81 02 85 02 09 23 95 2F 91 02
85 03 0A 21 28 95 2F B1 02 06 80 FF 85 E0 09 57
95 02 B1 02 C0 06 F0 FF 09 40 A1 01 85 F0 09 47
95 3F B1 02 85 F1 09 48 95 3F B1 02 85 F2 09 49
95 0F B1 02 C0


Thanks

brucechapolin
noob
Posts: 3

Re: USB4MAPLE adapter

Post by brucechapolin »

lostinspace wrote: Tue Feb 25, 2025 4:33 pm Don't know if anyone ever tried this, but it's possible to build a custom controller with a cheap Arduino microcontroller that "act" as a XBOX 360 gamepad. In doing that, Usb4Maple, and therefore Dreamcast will detect it. It works surprisingly well...I might end up doing a weird peripheral. :D

Big thanks to megavolt for Usb4Maple, amazing

Ps. I have very limited knowledge, I am only doing this for fun
I want to try something similar, I'm just waiting for the other RP2040 that I ordered to arrive.

So basically what I want to do is.
- One RP2040 with USB4MAPLE firmware
- One RP2040 with RP2040-CE firmware
- Setup RP2040-CE to an input compatible for USB4MAPLE, like Xbox360 or PS3/PS4 controllers.
- Then connect Any Controller > RP2040CE > USB4MAPLE > Dreamcast

In my case, I want to use my Hori Fighting Stick Alpha (PS5 version) as universal controller.
- I'll add both RP2040 above.
- I'll add magnetic connectors so I can plug and play using cables for other consoles that I want to play like Dreamcast, NES, SNES and others.

User avatar
MoeFoh
1300
Posts: 1359

Re: USB4MAPLE adapter

Post by MoeFoh »

brucechapolin wrote: Tue Feb 25, 2025 10:15 pm
lostinspace wrote: Tue Feb 25, 2025 4:33 pm Don't know if anyone ever tried this, but it's possible to build a custom controller with a cheap Arduino microcontroller that "act" as a XBOX 360 gamepad. In doing that, Usb4Maple, and therefore Dreamcast will detect it. It works surprisingly well...I might end up doing a weird peripheral. :D

Big thanks to megavolt for Usb4Maple, amazing

Ps. I have very limited knowledge, I am only doing this for fun
I want to try something similar, I'm just waiting for the other RP2040 that I ordered to arrive.

So basically what I want to do is.
- One RP2040 with USB4MAPLE firmware
- One RP2040 with RP2040-CE firmware
- Setup RP2040-CE to an input compatible for USB4MAPLE, like Xbox360 or PS3/PS4 controllers.
- Then connect Any Controller > RP2040CE > USB4MAPLE > Dreamcast

In my case, I want to use my Hori Fighting Stick Alpha (PS5 version) as universal controller.
- I'll add both RP2040 above.
- I'll add magnetic connectors so I can plug and play using cables for other consoles that I want to play like Dreamcast, NES, SNES and others.
Cool. Thanks for opening my eyes to the RP2040-CE project: https://gp2040-ce.info It sounds like possibly what you want is this: https://www.mayflash.com/product/magic_ns_2.html adds Bluetooth. I'm not sure if your stick is supported.

"Any Controller" to RP2040-CE. Isn't the controller/stick hard-wired into the Pico board?

User avatar
lostinspace
shadow
Posts: 12
Dreamcast Games you play Online: not yet

Re: USB4MAPLE adapter

Post by lostinspace »

This is how I did :
Pro Micro -> USB4MAPLE -> Dreamcast. I followed this... https://github.com/dmadison/ArduinoXInput ( credit to him ) . He have a few sketch codes that are ready to use. I simply connected the 2 analogues+digital buttons to the pins on the Pro Micro and updated the code accordingly... note that, despite using the Pro Micro, I had better results by selecting the leonardo board on the Arduino IDE.

I also have 2 rp2040 with usb4maple in it, one I use for ps5 controller which is great. I tough about building a Dreamcast controller with 2 analog sticks+memory+screen inside, but that might be just boring and I don't know where to buy a replacement shell for that. So I might build something else for now.
Last edited by lostinspace on Fri Feb 28, 2025 7:51 am, edited 1 time in total.

User avatar
lostinspace
shadow
Posts: 12
Dreamcast Games you play Online: not yet

Re: USB4MAPLE adapter

Post by lostinspace »

MoeFoh wrote: Wed Feb 26, 2025 5:48 am
brucechapolin wrote: Tue Feb 25, 2025 10:15 pm
lostinspace wrote: Tue Feb 25, 2025 4:33 pm Don't know if anyone ever tried this, but it's possible to build a custom controller with a cheap Arduino microcontroller that "act" as a XBOX 360 gamepad. In doing that, Usb4Maple, and therefore Dreamcast will detect it. It works surprisingly well...I might end up doing a weird peripheral. :D

Big thanks to megavolt for Usb4Maple, amazing

Ps. I have very limited knowledge, I am only doing this for fun
I want to try something similar, I'm just waiting for the other RP2040 that I ordered to arrive.

So basically what I want to do is.
- One RP2040 with USB4MAPLE firmware
- One RP2040 with RP2040-CE firmware
- Setup RP2040-CE to an input compatible for USB4MAPLE, like Xbox360 or PS3/PS4 controllers.
- Then connect Any Controller > RP2040CE > USB4MAPLE > Dreamcast

In my case, I want to use my Hori Fighting Stick Alpha (PS5 version) as universal controller.
- I'll add both RP2040 above.
- I'll add magnetic connectors so I can plug and play using cables for other consoles that I want to play like Dreamcast, NES, SNES and others.
Cool. Thanks for opening my eyes to the RP2040-CE project: https://gp2040-ce.info It sounds like possibly what you want is this: https://www.mayflash.com/product/magic_ns_2.html adds Bluetooth. I'm not sure if your stick is supported.

"Any Controller" to RP2040-CE. Isn't the controller/stick hard-wired into the Pico board?
The GP2040-CE is actually an interesting project, and I think you are right, the way I see it needs to hard-wired. The raspberry will read the inputs and "pretend to be something" in order to be detected, and that's cool. Thanks
Last edited by lostinspace on Wed Mar 05, 2025 10:23 am, edited 1 time in total.

User avatar
MoeFoh
1300
Posts: 1359

Re: USB4MAPLE adapter

Post by MoeFoh »

Indeed, after reading the material again, it looks like GP2040-CE is an open source fighting board - mainly for custom arcade sticks and specially designed and crafted controllers.

User avatar
onlycodered
undertow
Posts: 29
Dreamcast Games you play Online: Alien Front Online
Daytona USA
F355 Challenge
Phantasy Star Online

Re: USB4MAPLE adapter

Post by onlycodered »

https://www.amazon.com/RP2040-One-Pico- ... ast_sto_dp

Thought this was pretty cool. Basically the RP2040 with a USB type A connector on it. Seems like this would be a much more straightforward way to connect most peripherals. I may pick one of these up and try it out.
  • SEGA Dreamcast VA1 :: GDEMU v5.20.5 :: OSSC/MAMBA SCART :: PSO Guild Card #36420
  • SEGA Saturn VA7 :. Saroo v0.7
  • SEGA Genesis Model 2 VA2.3

  • Similar Topics
    Replies
    Views
    Last post