USB4MAPLE adapter

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

Moderators: pcwzrd13, deluxux, VasiliyRS

User avatar
pcwzrd13
Seen Any Sailors?
Posts: 7100
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 »

MoeFoh wrote: the Mayflash NS 2 or NS Lite adapters, don't expect rumble to work from a game. Just the way it is. You'll get verification rumble when the bluetooth connection is made and that will be it. Thought I'd throw that out there in case it's a deal breaker.
Hmmm, didn't even notice that when I was testing it but yeah, it doesn't. I wonder why that is. Any idea @Megavolt?
megavolt85 wrote:4 wheel thunder supports all axes mode, the second stick can be assigned to any action without any problems.
This is the third game with support for the second stick
Interesting. Not a game I would have thought of testing that. I actually forgot to mention that Half-Life recognizes the second stick as well. It doesn't work well at all though. If you try and assign it to anything with custom controls, you just end up spinning wildly. lol
PSO Characters:
Teal'c - lvl 119 HUcast - GC# 11666
Alto - lvl 39 FOnewm - GC# 12964

YouTube Channel : Dreamcast Live

User avatar
megavolt85
Developer
Posts: 1888

Re: USB4MAPLE adapter

Post by megavolt85 »

pcwzrd13 wrote:Any idea @Megavolt?
no, I don’t have this adapter, I don’t even know how it is detected by my adapter, I assume that it works like PS3 controller clones in which vibration also does not work
pcwzrd13 wrote: Interesting. Not a game I would have thought of testing that.
yes, this is not a game that really needs support for the second stick, but it is proof that the second stick is supported in games
pcwzrd13 wrote: I actually forgot to mention that Half-Life recognizes the second stick as well. It doesn't work well at all though. If you try and assign it to anything with custom controls, you just end up spinning wildly. lol
Yes, I tested Half Life on the previous adapter.
P.S. try FPS mode in Half Life and Fur Fighters

User avatar
megavolt85
Developer
Posts: 1888

Re: USB4MAPLE adapter

Post by megavolt85 »

rpf16rj wrote: I have steering wheel Logitech G29 for PS4.
test it
USB4MAPLE(test DrivingForce compatibile whells).zip
(52.55 KiB) Downloaded 18 times

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

Re: USB4MAPLE adapter

Post by rpf16rj »

megavolt85 wrote:
rpf16rj wrote: The hardware ID is:
USB\VID_045E
PID_028E
These VID and PID belong to the wired x360 controller and they are supported.
Most likely you have a program on your PC that emulates an x360 controller.

if you have a USB-UART then connect it to rp2040, RX to GP0, GND to GND and show me the log, port speed is 115200
I got a UART-USB using ESP32 thath had here, follow the log with connect the 8Bitdo Adapter V1 and paired PS4 joystick on him:

Code: Select all

A MassStorage device is mounted
Kingston DT 101 G2        rev PMAP
Disk Size: 3822 MB
mount done
HID device address = 2, instance = 0 is mounted
HID Interface Protocol = None VID = 045E PID = 028E
HID has 0 reports 
VID = 045e, PID = 028e
Protocol 0
HID receive desc report:
HID device address = 2, instance = 1 is mounted
HID Interface Protocol = None VID = 045E PID = 028E
HID has 0 reports 
VID = 045e, PID = 028e
Protocol 0
HID receive desc report:
HID device address = 2, instance = 2 is mounted
HID Interface Protocol = None VID = 045E PID = 028E
HID has 0 reports 
VID = 045e, PID = 028e
Protocol 0
HID receive desc report:
read done vmu.bin
vmu.bin formatted
HID device address = 2, instance = 0 is unmounted
HID device address = 2, instance = 1 is unmounted
HID device address = 2, instance = 2 is unmounted
HID device address = 2, instance = 0 is mounted
HID Interface Protocol = None VID = 045E PID = 028E
HID has 0 reports 
Those lines after vmu.bin formatted keep in loop.

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

Re: USB4MAPLE adapter

Post by rpf16rj »

megavolt85 wrote:
rpf16rj wrote: I have steering wheel Logitech G29 for PS4.
test it
USB4MAPLE(test DrivingForce compatibile whells).zip
The G29 have two modes, PS3 and PS4. When button swithed to PS4, nothing happing and not detected, here the log:

Code: Select all

Starting
A MassStorage device is mounted
Kingston DT 101 G2        rev PMAP
Disk Size: 3822 MB
HID device address = 2, instance = 0 is mounted
HID Interface Protocol = None VID = 046D PID = C260
HID has 2 reports 
VID = 046d, PID = c260
Protocol 0
HID receive desc report:
05 01 09 04 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 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 
mount done
read done vmu.bin
vmu.bin formatted
When in PS3 mode, some buttons work, but wrong. The START is the digital UP, L1 and R1 as wheel, L3 with A button. The true wheels do nothing:

Code: Select all

HID device address = 2, instance = 0 is unmounted
HID device address = 2, instance = 0 is mounted
HID Interface Protocol = None VID = 046D PID = C294
HID has 1 reports 
VID = 046d, PID = c294
Protocol 0
HID receive desc report:
05 01 09 05 A1 01 A1 02 15 00 25 01 35 00 45 01 
75 01 95 0D 05 09 19 01 29 0D 81 02 95 03 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 06 00 FF 09 20 
09 21 09 22 09 23 09 24 09 25 09 26 09 27 09 28 
09 29 09 2A 09 2B 95 0C 81 02 0A 21 26 95 08 B1 
02 0A 21 26 91 02 26 FF 03 46 FF 03 09 2C 09 2D 
09 2E 09 2F 75 10 95 04 81 02 C0 A1 02 26 FF 00 
46 FF 00 95 07 75 08 09 03 91 02 C0 C0

User avatar
megavolt85
Developer
Posts: 1888

Re: USB4MAPLE adapter

Post by megavolt85 »

rpf16rj wrote: When button swithed to PS4, nothing happing and not detected, here the log:
Unfortunately I can't use PS3 mode, we have a lot of work to debug in PS4 mode.
flash this firmware for debugging, switch the steering wheel to PS4 mode.
in the log, the last line will display the current state of the buttons and analog axes.
I need this line for all states like
1) steering wheel in center position
2) the steering wheel is turned as far as possible to the left
3) the steering wheel is turned as far as possible to the right
4) brake pedal is pressed
5) gas pedal is pressed
6) X button pressed
7) Y button pressed
and this should be done for all controls
hid_debug.zip
(52.67 KiB) Downloaded 10 times

User avatar
Vespa
shadow
Posts: 8

Re: USB4MAPLE adapter

Post by Vespa »

Thank you for your hard work on this adapter, megavolt85! Waiting on some part so I can build this, excited to try out the wheel support!

Do any of the modes mirror the left stick to the right stick (360 pad)? It would be good if standard does that if it's not currently mapped to anything. Use case would be for Shenmue, movement is on D-pad but look is on left-stick, would be nicer to use look on the right stick.
Last edited by Vespa on Sat Apr 20, 2024 10:21 am, edited 1 time in total.

User avatar
robinhoodie
rebel
Posts: 24

Re: USB4MAPLE adapter

Post by robinhoodie »

So testing out the adapters PCWZRD13 send me. 360 wired works amazingly. 360 through Microsoft wireless dongle works well. 8bitdo receiver does not work unsurprisingly. But here is the thing I want to investigate further. None of my 360 fight sticks work. I have:

Madcatz Street Fighter IV Fightstick
Dead or Alive 4 Arcade Stick
Hori EX2 Arcade stick
Madcatz Fight Stick Pro

The Xbox ring lights up and flashes on all, but it doesn't set to one of the 4 corners. Is there something the adapter is looking for that these stick don't have? Trying to figure this out as my next move is to test connecting to the adapter to some Brook fighting board PCBs

Update: Brook 4 in 1 USB fusion not being picked up by the adapter either. Ordering the Mayflash Lite to see if will sync to the PS4 mode of the Brook Wireless fight board.

User avatar
megavolt85
Developer
Posts: 1888

Re: USB4MAPLE adapter

Post by megavolt85 »

Vespa wrote: Do any of the modes mirror the left stick to the right stick (360 pad)?
Yep, FPS mode

User avatar
megavolt85
Developer
Posts: 1888

Re: USB4MAPLE adapter

Post by megavolt85 »

robinhoodie wrote: Madcatz Street Fighter IV Fightstick
Dead or Alive 4 Arcade Stick
Hori EX2 Arcade stick
Madcatz Fight Stick Pro
Only original xbox 360 controllers or clones that work exactly like the original are supported.
First, insert the controller into the PC and look at its vid pid

P. S. last night they added support for the G29 steering wheel in PS4 mode, it remains to limit the movement from 900 degrees to 270