USB4MAPLE adapter

Place for discussing homebrew games, development, new releases and emulation.
User avatar
MoeFoh
1300
Posts: 1360

Re: USB4MAPLE adapter

Post by MoeFoh »

usb4maple-project-jaxel.jpg

TurboAleman
shadow
Posts: 5

Re: USB4MAPLE adapter

Post by TurboAleman »

megavolt85 wrote: Mon Apr 14, 2025 4:01 pm
TurboAleman wrote: Mon Apr 14, 2025 12:37 pm Thanks for the info! At least now I know Tiny usb should work and I’m doing something wrong
give me a little more information about your project, what exactly it should do, how the rp2040 cores are used, what USB are you using, hardware or software?
In the Arcade cabinet world most common way to Connect their buttons to a pc or emulators is using a device that convert these buttons into 1 HID keyboard protocol then got inspired by your project and had an idea about converting this HID output to act as a dreamcast control, but faced issues to debug because was my first rp2040 project and i was stupid soldering a Wire in my handmade pico probe device, so after confirming you were using same library it made me recover the hope, digging found the issue in the probe device and after fixing , found maple bus comunication running in core 1 was going to panic when mounting a usb device, because core 0 was bussy longer than expected, only needed to modify to wait for core0 and now is working!! Thanks for Inspiring me and help me confirming I was on the correct path! Now I Can say i own a “Naomi” cabinet LOL
Last edited by TurboAleman on Sat Apr 19, 2025 7:47 pm, edited 1 time in total.

Jaxel
lithium
Posts: 49

Re: USB4MAPLE adapter

Post by Jaxel »

Is it possible to use something like the Logitech Unifying Receiver with USB4Maple? The problem of course being that you can have multiple devices plugged into a single receiver.

**EDIT** yes, you can! You just have to make sure only one device is on at a time, and it doesn't seem to work with mice; keyboards only. Tested and confirmed working with a Logitech K520.

**EDIT 2** does not work with the Logitech Bolt receiver.
Selling Dreamcast Adapters on my Etsy shop!
https://www.etsy.com/shop/UltraJaxel?se ... d=53753725

Jaxel
lithium
Posts: 49

Re: USB4MAPLE adapter

Post by Jaxel »

Any word on Sinden Lightgun support?
Selling Dreamcast Adapters on my Etsy shop!
https://www.etsy.com/shop/UltraJaxel?se ... d=53753725

DreamState
Quad Damage
Posts: 195

Re: USB4MAPLE adapter

Post by DreamState »

Jaxel wrote: Sat Apr 19, 2025 1:54 pm PXL_20250419_172327907.jpgPXL_20250419_172308808.jpg

I think I would want to sell these, but the cost of many of the internal parts make it pretty impossible to put up a good price.
PMd on here and in private email. 100% looking to buy if you do sell for a price that suits you.

Jaxel
lithium
Posts: 49

Re: USB4MAPLE adapter

Post by Jaxel »

DreamState wrote: Thu Apr 24, 2025 8:58 am
Jaxel wrote: Sat Apr 19, 2025 1:54 pm PXL_20250419_172327907.jpgPXL_20250419_172308808.jpg

I think I would want to sell these, but the cost of many of the internal parts make it pretty impossible to put up a good price.
PMd on here and in private email. 100% looking to buy if you do sell for a price that suits you.
I put them up on my Etsy shop. I emailed you the link.
Selling Dreamcast Adapters on my Etsy shop!
https://www.etsy.com/shop/UltraJaxel?se ... d=53753725

User avatar
megavolt85
Developer
Posts: 2159

Re: USB4MAPLE adapter

Post by megavolt85 »

Jaxel wrote: Thu Apr 24, 2025 8:14 am Any word on Sinden Lightgun support?
lightgun support is impossible.
to implement lightgun I need to switch to using rp2350, but this is beyond the budget adapter.
as for Sinden Lightgun, this product requires quite a lot of computing power to determine the position of the sight, I don't think that cheap microcontrollers will be able to process its signal

User avatar
Elixir Alex
shadow
Posts: 7
Dreamcast Games you play Online: Alien Front Online, ClassiCube, Quake III Arena, Phantasy Star Online.

Re: Extensions get mixed up.

Post by Elixir Alex »

megavolt85 wrote: Tue Apr 08, 2025 7:01 pm it's fixed in latest firmware
Thank you, this issue was really bothering me and I truly appreciate the fix. :D

There's a feature I'd like, btw, could you have it where the VMU emulation can work without a controller? I like to use a Dreamcast controller and have the usb4maple on the side to save to. maybe even make it emulate two VMU's but maybe that's too much?

oh, and I made my second batch of these wonderful things:
20250427_163356[1].jpg
20250428_011323[1].jpg
20250428_012820[1].jpg
20250428_030154 compressed.jpg
20250428_035744[1].jpg

Jaxel
lithium
Posts: 49

Re: USB4MAPLE adapter

Post by Jaxel »

Has anyone looked into the Nintendo Switch Pro Controller? It has very weird reporting in Windows. It works fine in Steam, but in the Windows Game Controllers menu, it's nothing but errors and phantom inputs.

Now I don't have a Switch Pro Controller, so I can't get you exact UART logs... but I do have a Switch Pro Controller emulator, which I have a GameCube controller plugged into:
https://github.com/DavidPagels/retro-pico-switch

The reports I get from that are odd; and since it's supposed to emulate an actual Switch Pro Controller, it's probably exactly the same.

Code: Select all

HID device address = 1, instance = 0 is mounted
HID Interface Protocol = None VID = 057E PID = 2009
HID has 1 reports
VID = 057e, PID = 2009
Protocol 0

30 ** 81 00 00 02 3C A8 88 1F 09 7C 00 00 00 00 #DP-U
30 ** 81 00 00 01 3C A8 88 1F 09 7C 00 00 00 00 #DP-D
30 ** 81 00 00 08 3C A8 88 1F 09 7C 00 00 00 00 #DP-L
30 ** 81 00 00 04 3C A8 88 1F 09 7C 00 00 00 00 #DP-R

30 ** 81 04 00 00 3C A8 88 1F 09 7C 00 00 00 00 #B
30 ** 81 08 00 00 3C A8 88 1F 09 7C 00 00 00 00 #A
30 ** 81 01 00 00 3C A8 88 1F 09 7C 00 00 00 00 #Y
30 ** 81 02 00 00 3C A8 88 1F 09 7C 00 00 00 00 #X

30 ** 81 00 00 80 3C A8 88 1F 09 7C 00 00 00 00 #L
30 ** 81 00 00 40 3C A8 88 1F 09 7C 00 00 00 00 #ZL
30 ** 81 80 00 00 3C A8 88 1F 09 7C 00 00 00 00 #R
30 ** 81 40 00 00 3C A8 88 1F 09 7C 00 00 00 00 #ZR

30 ** 81 00 02 00 3C A8 88 1F 09 7C 00 00 00 00 #START/PLUS
30 ** 81 00 10 00 3C A8 88 1F 09 7C 00 00 00 00 #HOME

30 ** 81 00 00 00 ** ** ** 1F 09 7C 00 00 00 00 #L-STICK
30 ** 81 00 00 00 3C A8 88 ** ** ** 00 00 00 00 #R-STICK
Firstly, you'll notice the second hex group is nothing but asterisks. This number is constantly changing, and not reflective of any button presses, so I've omitted it.

Next, you'll see t he L/ZL and R/ZR buttons. The L and R triggers are `8#` during all levels of activation; then when pulled fully, they trigger ZL and ZR respectively at `4#`.

As for the HOME button, the controller doesn't have one. But the author of the software programmed it so that if you hit ZR+ZR+START, it activates the HOME bit, which is `1#`. The GameCube controller does not have a SELECT/MINUS button, but I would guess it's probably `#1` or `#4`

The sticks are where thing's get complicated. Each stick controls three hex columns and I can't understand the rhyme or reason for them.
Selling Dreamcast Adapters on my Etsy shop!
https://www.etsy.com/shop/UltraJaxel?se ... d=53753725

Jaxel
lithium
Posts: 49

Re: USB4MAPLE adapter

Post by Jaxel »

And for that controller, here are my settings in Dolphin:

Code: Select all

[Profile]
Device = SDL/0/Nintendo Switch Pro Controller
Buttons/A = `Button E`
Buttons/B = `Button S`
Buttons/X = `Button N`
Buttons/Y = `Button W`
Buttons/Z = `Shoulder L`
Buttons/Start = Start
Main Stick/Up = `Left Y+`
Main Stick/Down = `Left Y-`
Main Stick/Left = `Left X-`
Main Stick/Right = `Left X+`
Main Stick/Modifier = `Shift`
Main Stick/Calibration = 97.71 99.65 100.88 103.84 108.86 101.35 97.69 97.49 99.85 97.04 96.59 99.35 106.08 98.70 95.12 95.80 95.70 91.55 91.50 94.26 102.68 96.94 93.96 96.00 100.00 97.29 95.62 98.45 104.21 97.19 93.72 93.77
C-Stick/Up = `Right Y+`
C-Stick/Down = `Right Y-`
C-Stick/Left = `Right X-`
C-Stick/Right = `Right X+`
C-Stick/Modifier = `Ctrl`
C-Stick/Calibration = 99.65 95.76 94.96 97.58 103.89 98.51 97.33 99.72 99.28 98.28 98.10 99.92 101.49 97.96 96.31 96.60 100.00 96.16 95.21 97.28 103.13 97.21 95.01 97.36 100.00 101.36 105.68 107.09 109.89 101.77 98.57 98.12
Triggers/L = `Trigger L`
Triggers/R = `Trigger R`
Triggers/L-Analog = `Trigger L`
Triggers/R-Analog = `Trigger R`
D-Pad/Up = `Pad N`
D-Pad/Down = `Pad S`
D-Pad/Left = `Pad W`
D-Pad/Right = `Pad E`
Rumble/Motor = Motor
Selling Dreamcast Adapters on my Etsy shop!
https://www.etsy.com/shop/UltraJaxel?se ... d=53753725

  • Similar Topics
    Replies
    Views
    Last post