USB4MAPLE adapter

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

Moderators: pcwzrd13, deluxux, VasiliyRS

User avatar
Vespa
undertow
Posts: 26

Re: USB4MAPLE adapter

Post by Vespa »

megavolt85 wrote: Thu May 09, 2024 8:36 am usb4maple(fix NEOGEO ARCADE STICK PRO, GP2040ce, MadCatz360TE).7z
Legendary work! No issues both working fine. I have the GP2040ce in a Sega High Grade stick and it feels so nice to use on the Dreamcast!

Btw do you have a ko-fi page, megavolt?

User avatar
pcwzrd13
Seen Any Sailors?
Posts: 7121
Dreamcast Games you play Online: All of them! I'm able to connect with dial-up or broadband.
Location: USA
Contact:

Re: USB4MAPLE adapter

Post by pcwzrd13 »

megavolt85 wrote: Thu May 09, 2024 8:36 am
pcwzrd13 wrote: Wed May 08, 2024 10:43 pm Seems to be only in POD. It works in the BIOS and in Crazy Taxi 1 & 2. Haven't tried other games yet.
This means that in POD this is how the mapping of buttons for the steering wheel is arranged.
Logitech steering wheels do not emulate a joystick, they are defined as the original steering wheel for DreamCast
Strange because it works fine with my PS2 steering wheel through the USB adapter. :?:

Edit: Nevermind. I forgot the PS2 wheel shows up as a regular controller.

Edit 2: I figured it out. So it seems the game maps up and down on the d-pad to the pedals. Accelerate is up and break is down. Strange way to do it but there you go. I was confused at first because even the d-pad on my Pelican Dreamcast steering wheel worked fine but then I saw that the game sees it as a regular controller. The G29 shows up as a wheel so the mapping is different.
PSO Characters:
Teal'c - lvl 119 HUcast - GC# 11666
Alto - lvl 39 FOnewm - GC# 12964

YouTube Channel : Dreamcast Live

rpf16rj
undertow
Posts: 32
Dreamcast Games you play Online: Ooga Booga, Tetris Online, Alien Front, 4x4 Evo

Re: USB4MAPLE adapter

Post by rpf16rj »

I did a way to use a ESP32 board to debug any board with UART, in case to don't have a UART USB cable.
I did use this to collect logs that was used on G29 support:
https://github.com/rpf16rj/esp32_serial_debug_uart

User avatar
MoeFoh
Outrun
Posts: 1135

Re: USB4MAPLE adapter

Post by MoeFoh »

@megavolt85

NEOGEO ARCADE STICK PRO - D-INPUT
Switch #1 = Joystick Position
Switch #2 = Position 3 (D-INPUT)

Perfect.
Configures as a Dreamcast Arcade Stick
A,B,C = good
X,Y,Z = good
Start = good

Test title - Under Defeat = good & way to fun!
ASP Manual.pdf
(324.2 KiB) Downloaded 2 times
Last edited by MoeFoh on Thu May 09, 2024 3:55 pm, edited 3 times in total.

User avatar
f355fanatic
shadow
Posts: 9

Re: USB4MAPLE adapter

Post by f355fanatic »

what software should I use to get the log? I have usbcap and freeusbanalyser but these two software do not output the log to me.

User avatar
gatoh
shadow
Posts: 8

Re: USB4MAPLE adapter

Post by gatoh »

Hello!

I have finally managed to get the Arduino MEGA Log.

Attached is the Log of the Arcade Stick Mayflash F300 in PS3 Mode,and of de Razer Viper v2 Pro

Thank you very much for your work!

Image
Attachments
Viperv2Pro.txt
(580 Bytes) Downloaded 9 times
F300 PS3 Mode.txt
(2.01 KiB) Downloaded 10 times

User avatar
Vespa
undertow
Posts: 26

Re: USB4MAPLE adapter

Post by Vespa »

Astro city arcade stick
astroStick.jpg
No markings on the stick so just noted the DC arcade stick layout in the log

Mayflash GC controler adapter (Port 1, NS/WiiU mode)
mayflash.jpg
mayflash.jpg (52.88 KiB) Viewed 318 times
Surprised this one didn't work in 'PC mode. There was a lot of jitter on the analog sticks and triggers, also the byte string was for every port so I might mess this one up. Side note: I tried the official Nintendo Gamecube adapter and it gives VID+PID and Desc but no inputs.
Attachments
Mayflash GC controller_adapter_log.txt
(1.93 KiB) Downloaded 3 times
Astro city arcade stick_log.txt
(834 Bytes) Downloaded 5 times

User avatar
megavolt85
Developer
Posts: 1947

Re: USB4MAPLE adapter

Post by megavolt85 »

gatoh wrote: Thu May 09, 2024 12:14 pm Attached is the Log of the Arcade Stick Mayflash F300 in PS3 Mode,and of de Razer Viper v2 Pro
ok, MyFlash F300 added
usb4maple(MyFlash F300).7z
(48.67 KiB) Downloaded 11 times
but for mouse need more tests

BB 1? 2? WW X16 Y16
00 00 01 00 00 00 01 00
need check how changed walue "1?" and "2?" may be is 8 bit X and Y

User avatar
maonaluva
undertow
Posts: 27

Re: USB4MAPLE adapter

Post by maonaluva »

megavolt85 wrote: Wed May 08, 2024 9:37 pm
maonaluva wrote: Wed May 08, 2024 8:32 pm What a shame :( This control has a very good grip. If there is any other test I can do here to try to make it work, let me know.
unfortunately the tests won't help here, try connecting the joystick to the PC and look at the VID and PID

Bus 001 Device 071: ID 045e:028e Microsoft Corp. Xbox360 Controller

User avatar
maonaluva
undertow
Posts: 27

Re: USB4MAPLE adapter

Post by maonaluva »

One more tested :)

PowerA Enhanced Wired Controller for Nintendo Switch

https://www.amazon.com/Powera-1518384-0 ... HJFVH?th=1
Image

Code: Select all

HID device address = 1, instance = 0 is mounted
HID Interface Protocol = None VID = 20D6 PID = A713
HID has 1 reports
VID = 20d6, PID = a713
Protocol 0
HID receive desc report:
05 01 09 05 A1 01 15 00 25 01 35 00 45 01 75 01
95 0E 05 09 19 01 29 0E 81 02 95 02 81 01 05 01
25 07 46 3B 01 75 04 95 01 65 14 09 39 81 42 65
00 95 01 81 01 26 FF 00 46 FF 00 09 30 09 31 09
32 09 35 75 08 95 04 81 02 75 08 95 01 81 01 05
0C 09 00 15 80 25 7F 75 08 95 40 B1 02 C0
00 00 0F 80 80 80 80 00
Left Stick UP: 00 00 0F 80 00 80 80 00
Left Stick DOWN: 00 00 0F 80 FF 80 80 00
Left Stick LEFT: 00 00 0F 00 80 80 80 00
Left Stick RIGHT: 00 00 0F FF 80 80 80 00

Right Stick UP: 00 00 0F 80 80 80 00 00
Right Stick DOWN: 00 00 0F 80 80 80 FF 00
Right Stick LEFT: 00 00 0F 80 80 00 80 00
Right Stick RIGHT: 00 00 0F 80 80 FF 80 00

d-pad up = 00 00 00 80 80 80 80 00
d-pad down = 00 00 04 80 80 80 80 00
d-pad left = 00 00 06 80 80 80 80 00
d-pad right = 00 00 02 80 80 80 80 00

Y = 01
X = 08
B = 02
A = 04

L = 10
R = 20
ZL = 40
ZR = 80

start = 00 02
select = 00 01

home = 00 10