USB4MAPLE adapter

Place for discussing homebrew games, development, new releases and emulation.

Moderators: pcwzrd13, deluxux, VasiliyRS

User avatar
MoeFoh
Outrun
Posts: 1135

Re: USB4MAPLE adapter

Post by MoeFoh »

@megavolt85

Mode X (both analogs) &
Mode ASCII STICK &
Mode ARCADE STICK

Currently, LB = C & RB = Z
Would it make sense to reverse these?
Ikaruga shows L(Z) & R(C) in the controller settings, so I'm thinking that's the standard.

Player 2:
ikuruga-z-c.jpg

User avatar
Vespa
undertow
Posts: 26

Re: USB4MAPLE adapter

Post by Vespa »

@MoeFoh - Do you think this is a good guide to follow to get a full log of Xinput devices?: https://pbxbook.com/voip/sputty.html (Baud rate should be 115200?)

I'm using Arduino IDE's serial monitor for HID compat. controllers (and sonik's pico dumper firmware) but need something for 360 RAP arcade stick and the 360 Flight stick. Thanks!

User avatar
MoeFoh
Outrun
Posts: 1135

Re: USB4MAPLE adapter

Post by MoeFoh »

For those interested in my debug rig:

2040 pico board:
-flashed with debug firmware provided by megavolt85

Prolific PL2303TA usb to ttl rs232 cable:
-rx is connected to tx (pico board) - label 1 on the pico board
-ground is connected to ground (pico board) - label 3 on the pico board

PuTTY:
-serial checked
-115200 baud rate
-COM3 (yours may be different)
-printable log file checked

Windows 7 with Prolific driver installed.
Attachments
usb4maple-debug-firmware (05-03-2024).zip
Debug Firmware
(53.83 KiB) Downloaded 8 times
Last edited by MoeFoh on Mon May 06, 2024 4:46 pm, edited 7 times in total.

User avatar
megavolt85
Developer
Posts: 1947

Re: USB4MAPLE adapter

Post by megavolt85 »

MoeFoh wrote: Sat May 04, 2024 9:22 pm LB maps to a fully depressed LT
RB maps to a fully depressed RT
MoeFoh wrote: Sat May 04, 2024 9:45 pm Right Stick Up is showing down.
Right Stick Down is showing up.
MoeFoh wrote: Sat May 04, 2024 10:45 pm Currently, LB = C & RB = Z
Would it make sense to reverse these?
all fixed, test it
usb4maple_test.7z
(47.86 KiB) Downloaded 9 times

User avatar
MoeFoh
Outrun
Posts: 1135

Re: USB4MAPLE adapter

Post by MoeFoh »

@megavolt85

LB maps to a fully depressed LT
RB maps to a fully depressed RT
-can we add this feature to the Horipad, Mode - Button A (default controller)?

ASCII & ARCADE Mode
LT press shows Button A & X both being pressed
RT press shows Button B & Y both being pressed
-I don't own either of these. Is that the way they normally work on the Dreamcast.

Everything else looks fixed and awesome!

User avatar
megavolt85
Developer
Posts: 1947

Re: USB4MAPLE adapter

Post by megavolt85 »

MoeFoh wrote: Sun May 05, 2024 5:16 pm ASCII & ARCADE Mode
LT press shows Button A & X both being pressed
RT press shows Button B & Y both being pressed
-I don't own either of these. Is that the way they normally work on the Dreamcast.
is new feature for few fighting
MoeFoh wrote: Sun May 05, 2024 5:16 pm -can we add this feature to the Horipad, Mode - Button A (default controller)?
test
usb4maple_test.7z
(47.96 KiB) Downloaded 11 times

User avatar
MoeFoh
Outrun
Posts: 1135

Re: USB4MAPLE adapter

Post by MoeFoh »

@magavolt85

PERFECTO and AMAZING :D

User avatar
gatoh
shadow
Posts: 8

Re: USB4MAPLE adapter

Post by gatoh »

Hello!

I have been testing it this weekend and congratulations, it works perfectly with my Wireless X360 adapter. I have been able to play Half Life or Quake 3 with both analogs comfortably.

I still have to test my wireless mouse, which I hope to try today.

I also tested the MayFlash F300 Arcade Joystick in XInput and PS3 mode and it did not work in either mode. I will try to get the log to send it to you.

Thank you very much for this great job.

EDIT: Mouse Razer Viper v2 Pro tested and work partially! Only X axis (left-right) and click left and right, but not Y axis.
Last edited by gatoh on Mon May 06, 2024 2:46 pm, edited 1 time in total.

User avatar
Vespa
undertow
Posts: 26

Re: USB4MAPLE adapter

Post by Vespa »

MoeFoh wrote: Sun May 05, 2024 11:29 am For those interested in my debug rig:

2040 pico board

Prolific pl2303ta usb to ttl rs232 cable
-rx is connected to tx (pico board) - label 1 on the board
-ground is connected to ground (pico board) - label 3 on the board

PuTTY
-serial checked
-115200 baud rate
-COM3 (yours may be different)
-printable log file checked

Windows 7 with Prolific driver installed.
Thank you for this information, I will order a Prolific cable and see if I can follow. Btw what are you running on the Pico? EDIT: Oh you use the megavolt/USB4Maple firmware

User avatar
megavolt85
Developer
Posts: 1947

Re: USB4MAPLE adapter

Post by megavolt85 »

Vespa wrote: Mon May 06, 2024 4:05 am I will order a Prolific cable and see if I can follow.
you can use any serial adapter, profilic, CH340, CH341, FTDI, arduino nano/mini/micro (flashed to usb-serial) ...... etc ....