USB4MAPLE adapter

Place for discussing homebrew games, development, new releases and emulation.
User avatar
megavolt85
Developer
Posts: 2194

Re: USB4MAPLE adapter

Post by megavolt85 »

it's wrong value for whell centr

Code: Select all

00 00 FF A7 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 EF A7 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 FF A7 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 FF A7 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 0F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 1F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 2F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 2F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 3F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 4F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 5F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 5F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 6F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 6F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 7F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 8F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 9F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 AF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 BF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 BF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 CF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 DF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 DF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 EF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 FF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 FF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 EF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 DF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 CF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 CF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
normal value for centr

Code: Select all

00 00 0F 80 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02

User avatar
rpf16rj
Developer
Posts: 51
Contact:

Re: USB4MAPLE adapter

Post by rpf16rj »

megavolt85 wrote: Wed Jul 02, 2025 5:12 pm it's wrong value for whell centr

Code: Select all

00 00 FF A7 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 EF A7 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 FF A7 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 FF A7 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 0F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 1F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 2F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 2F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 3F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 4F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 5F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 5F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 6F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 6F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 7F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 8F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 9F A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 AF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 BF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 BF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 CF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 DF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 DF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 EF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 FF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 FF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 EF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 DF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 CF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
00 00 CF A8 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
normal value for centr

Code: Select all

00 00 0F 80 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 02 00 02 00 02
Because it is very sensible, I think that moving a little bit while getting logs is a good idea. But I think the center value is your value.
Curious tester of old games and software and electronic modder sometimes.

Youtube channel: https://www.youtube.com/@rpf16rj1

User avatar
megavolt85
Developer
Posts: 2194

Re: USB4MAPLE adapter

Post by megavolt85 »

Jaxel wrote: Sun Jun 22, 2025 8:29 am Any luck with Switch Pro Controllers yet?
i'm sure it won't work with original controllers, they need initialization, but with 3rd party it should work, check it out
rpf16rj wrote: Tue Jul 01, 2025 7:43 pm can add support for stearring wheel Thrustmaster T500RS?
added, test it
usb4maple(03.07.25).7z
(57.98 KiB) Downloaded 12 times

User avatar
rpf16rj
Developer
Posts: 51
Contact:

Re: USB4MAPLE adapter

Post by rpf16rj »

megavolt85 wrote: Thu Jul 03, 2025 8:23 am
Jaxel wrote: Sun Jun 22, 2025 8:29 am Any luck with Switch Pro Controllers yet?
i'm sure it won't work with original controllers, they need initialization, but with 3rd party it should work, check it out
rpf16rj wrote: Tue Jul 01, 2025 7:43 pm can add support for stearring wheel Thrustmaster T500RS?
added, test it
usb4maple(03.07.25).7z
Hi, thanks, bro.
I did test and work!
Just some details:

- It is difficult to put the wheel in the center, and it is very sensitive.
I sent two videos on Diacord to show in more detail.
- Button A appears to be truly mapped on the 250p test suite and works inside games, but on the GDEmu menu, it doesn't work to start the game. Is this an issue with GDEmu?
Curious tester of old games and software and electronic modder sometimes.

Youtube channel: https://www.youtube.com/@rpf16rj1

User avatar
megavolt85
Developer
Posts: 2194

Re: USB4MAPLE adapter

Post by megavolt85 »

I'll add this for those who have the same wheel.
Thrustmaster T500RS works in emulation mode, so it tries to remove the dead zone itself, but this can be disabled on the wheel itself.
Снимок экрана от 2025-07-03 17-20-39.png

User avatar
TarkusTank
noob
Posts: 3

Re: USB4MAPLE adapter

Post by TarkusTank »

Hi! Registered to say that I'm very interested in this project and you have done excellent work! However, I have found a quirk in regards to arcade sticks using Brook boards.

I have two fightsticks; one powered by a Brook UFB, and one powered by a Brook Gen-5x. The former works if set to XBOX 360 mode, and the latter works in XBOX Series X|S mode.

However, they both share a similar oddity in how their buttons are laid out. Thankfully I have a Neo Geo Arcade Stick Pro that works correctly, so I have a point of reference.

So through the adapter, the Neo Geo ASP is mapped as follows:

1P = X
2P = Y
3P = Z
4P = (no mapping)
1K = A
2K = B
3K = C
4K = (no mapping)


When I use either of the Brook sticks, this is the mapping I get:

1P = X
2P = Y
3P = C
4P = Z
1K = A
2K = B
3K = C
4P = Z


I tried using the Arcade Stick remapping, but the button layout remained the same. I have confirmed the remapping works with other modes because I was able to remap C to Up and Z to Down in one mode.

Since the adapter is able to recognize the Home button on these controllers, is it possible have it also recognize 4P/4K (This would be L1/L2 on a Playstation controller) to assign an Arcade stick button mapping that resembles what the Neo Geo ASP does?

User avatar
Trigger Happy
rebel
Posts: 16
Dreamcast Games you play Online: Not playing Online
Location: Europe

Re: USB4MAPLE adapter

Post by Trigger Happy »

I finally assembled the parts I've had lying around since mid-winter and can confirm it works brilliantly with a raspberry pi mouse. Also connected my logitech K400plus without issues, but when I tried a ps/2 optical mouse trough an adapter it got registered as a keyboard. Had some trouble working out the VMU part. I had ordered a cheap 4-way with manual switches. My plan was to source some obsolete usb memory sticks and just easily switch between them, but it seems like the vmu isn't recognised when connected right next to the mouse. Took me forever figuring that one out, but in the end I got what I wanted. Enjoyed some fun time playing Q3A and Railroad Tycoon. Thanks a lot.

User avatar
TarkusTank
noob
Posts: 3

Re: USB4MAPLE adapter

Post by TarkusTank »

TarkusTank wrote: Thu Jul 03, 2025 9:01 pm blah
Update: I acquired a Mayflash NS 2 to see if the issue is alleviated. I also grabbed 240P Test Suite for the Dreamcast to further log my findings. Using a Razer Panthera connected to the Mayflash NS 2, this is how it looks in XBOX360 Controller Mode:

Square -> X
Triangle -> Y
Cross -> A
Circle -> B
R1 -> C
R2 -> RIght Trigger
L1 -> Z
L2 -> Left Trigger

The Brook Boards showed a similar mapping. Unfortunately, in either case, it's impossible to set the USB4Maple to Arcade Stick mode to accommodate these controllers. Would it be possible to set the Arcade Stick remap to one of the triggers instead of the C button?

User avatar
MoeFoh
1300
Posts: 1385

Re: USB4MAPLE adapter

Post by MoeFoh »

TarkusTank wrote: Wed Jul 09, 2025 12:18 am
TarkusTank wrote: Thu Jul 03, 2025 9:01 pm blah
Update: I acquired a Mayflash NS 2 to see if the issue is alleviated. I also grabbed 240P Test Suite for the Dreamcast to further log my findings. Using a Razer Panthera connected to the Mayflash NS 2, this is how it looks in XBOX360 Controller Mode:

Square -> X
Triangle -> Y
Cross -> A
Circle -> B
R1 -> C
R2 -> RIght Trigger
L1 -> Z
L2 -> Left Trigger

The Brook Boards showed a similar mapping. Unfortunately, in either case, it's impossible to set the USB4Maple to Arcade Stick mode to accommodate these controllers. Would it be possible to set the Arcade Stick remap to one of the triggers instead of the C button?
I did the work for the NEOGEO ASP. What I did was to put the ASP in d-input mode and file a debug report to add support. After the firmware is updated, it identifies the ASP by VID, PID and automatically configures and maps to the Dreamcast Stick and that's the only mode it runs in. You'll need to ask for the best debug method.
Attachments
PuTTY.neogeo-arcade-stick-pro.debug.log.txt
ASP Debug File
(1.12 KiB) Downloaded 9 times

User avatar
TarkusTank
noob
Posts: 3

Re: USB4MAPLE adapter

Post by TarkusTank »

Oh nice, a lead! Yeah, if I can get some advice on how to set all this up, I would be happy to contribute what I can for this project.

  • Similar Topics
    Replies
    Views
    Last post