USB4MAPLE adapter

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

Moderators: pcwzrd13, deluxux, VasiliyRS

User avatar
maonaluva
undertow
Posts: 27

Re: USB4MAPLE adapter

Post by maonaluva »

megavolt85 wrote: Tue May 07, 2024 12:31 pm Arduino Mega and UNO have ATMEGA16U2 already flashed as USB-TTL
1) set jumper to pin 5-6 on ICSP, is disable main controller

Снимок экрана от 2024-05-07 19-20-27.png
Снимок экрана от 2024-05-07 19-19-55.png

2) connect any GND from arduino board to any GND pin rp2040
3) connect rp2040 GP0 to:
MEGA2560 - PE1
UNO - PD1
thank you very much :) . I'll check it out as soon as I get home, what about the software? I use Linux, is there a specific program to read and save the LOG?

User avatar
Vespa
undertow
Posts: 26

Re: USB4MAPLE adapter

Post by Vespa »

Hori RAP VX SA 360
horivxsa.jpg
horivxsa.jpg (18.71 KiB) Viewed 408 times
Hopefully I've captured this right, megavolt85! I don't know if the diagonals on the stick needed to be recorded but the byte string is different to the cardinal directions so thought it best. Also, I didn't record the far two buttons (left/right bumpers) because I've blanked them out to make it a six-button layout. Thanks.
Attachments
Hori RAP VX-SA_log.txt
(1.5 KiB) Downloaded 7 times

User avatar
megavolt85
Developer
Posts: 1947

Re: USB4MAPLE adapter

Post by megavolt85 »

maonaluva wrote: Tue May 07, 2024 3:22 pm what about the software? I use Linux, is there a specific program to read and save the LOG?
Снимок экрана от 2024-04-20 19-58-35.png
Снимок экрана от 2024-04-20 21-20-27.png

User avatar
megavolt85
Developer
Posts: 1947

Re: USB4MAPLE adapter

Post by megavolt85 »

Vespa wrote: Tue May 07, 2024 3:36 pm Hori RAP VX SA 360
test
usb4maple(Hori RAP VX-SA test).7z
(48.08 KiB) Downloaded 6 times
P.S. diagonals don't need

User avatar
Vespa
undertow
Posts: 26

Re: USB4MAPLE adapter

Post by Vespa »

megavolt85 wrote: Tue May 07, 2024 4:14 pm
Vespa wrote: Tue May 07, 2024 3:36 pm Hori RAP VX SA 360
test
usb4maple(Hori RAP VX-SA test).7z

P.S. diagonals don't need
Wow, that was fast. Thank you for adding the stick.

-Xbox guide button continuously flashes (expected)
-If possible could four of the buttons be changed?
horiMap.jpg
Using the Hori on the DC is so damn cool!

User avatar
megavolt85
Developer
Posts: 1947

Re: USB4MAPLE adapter

Post by megavolt85 »

Vespa wrote: Tue May 07, 2024 5:08 pm -Xbox guide button continuously flashes (expected)
check it now
Vespa wrote: Tue May 07, 2024 5:08 pm Using the Hori on the DC is so damn cool!
this arcade ctick have vibration?

fix Hori RAP VX-SA
added:
8bitdo Micro Gamepad (VID 2DC8 PID 9020)
iBuffalo SNES USB (VID 0583 PID 2060)

User avatar
maonaluva
undertow
Posts: 27

Re: USB4MAPLE adapter

Post by maonaluva »

megavolt85 wrote: Tue May 07, 2024 3:38 pm
maonaluva wrote: Tue May 07, 2024 3:22 pm what about the software? I use Linux, is there a specific program to read and save the LOG?
Снимок экрана от 2024-04-20 19-58-35.png
Снимок экрана от 2024-04-20 21-20-27.png
I think I got it, would that be it?

8BitDo M30 2.4G
https://download.8bitdo.com/Manual/Cont ... g.pdf?0811
Starting
HID device address = 1, 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 = 1, 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 = 1, 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:
HID device address = 1, instance = 0 is unmounted
HID device address = 1, instance = 1 is unmounted
HID device address = 1, instance = 2 is unmounted
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
HID receive desc report:
05 01 15 00 09 04 A1 01 85 30 05 01 05 09 19 01
29 0A 15 00 25 01 75 01 95 0A 55 00 65 00 81 02
05 09 19 0B 29 0E 15 00 25 01 75 01 95 04 81 02
75 01 95 02 81 03 0B 01 00 01 00 A1 00 0B 30 00
01 00 0B 31 00 01 00 0B 32 00 01 00 0B 35 00 01
00 15 00 27 FF FF 00 00 75 10 95 04 81 02 C0 0B
39 00 01 00 15 00 25 07 35 00 46 3B 01 65 14 75
04 95 01 81 02 05 09 19 0F 29 12 15 00 25 01 75
01 95 04 81 02 75 08 95 34 81 03 06 00 FF 85 21
09 01 75 08 95 3F 81 03 85 81 09 02 75 08 95 3F
81 03 85 01 09 03 75 08 95 3F 91 83 85 10 09 04
75 08 95 3F 91 83 85 80 09 05 75 08 95 3F 91 83
85 82 09 06 75 08 95 3F 91 83 C0
Last edited by maonaluva on Wed May 08, 2024 8:22 am, edited 1 time in total.

joxley192
shadow
Posts: 7

Re: USB4MAPLE adapter

Post by joxley192 »

Can I use a raspberry pi to the rp2040 to get the controller info

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

Re: USB4MAPLE adapter

Post by rpf16rj »

Hey @megavolt85, is possible add support for 8bitdo SN30 2.4g version? Thank you.

SN30 Manual: https://download.8bitdo.com/Manual/Cont ... 0_2.4g.pdf

Follow the log:

Code: Select all

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:
mount done
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:
HID device address = 3, instance = 0 is mounted
HID Interface Protocol = None VID = 057E PID = 2009
HID has 1 reports
VID = 057e, PID = 2009
Protocol 0
HID receive desc report:
05 01 15 00 09 04 A1 01 85 30 05 01 05 09 19 01
29 0A 15 00 25 01 75 01 95 0A 55 00 65 00 81 02
05 09 19 0B 29 0E 15 00 25 01 75 01 95 04 81 02
75 01 95 02 81 03 0B 01 00 01 00 A1 00 0B 30 00
01 00 0B 31 00 01 00 0B 32 00 01 00 0B 35 00 01
00 15 00 27 FF FF 00 00 75 10 95 04 81 02 C0 0B
39 00 01 00 15 00 25 07 35 00 46 3B 01 65 14 75
04 95 01 81 02 05 09 19 0F 29 12 15 00 25 01 75
01 95 04 81 02 75 08 95 34 81 03 06 00 FF 85 21
09 01 75 08 95 3F 81 03 85 81 09 02 75 08 95 3F
81 03 85 01 09 03 75 08 95 3F 91 83 85 10 09 04
75 08 95 3F 91 83 85 80 09 05 75 08 95 3F 91 83
85 82 09 06 75 08 95 3F 91 83 C0

joxley192
shadow
Posts: 7

Re: USB4MAPLE adapter

Post by joxley192 »

Works with Nintendo Switch Horipad Mini
Attachments
61lvDRc09tL._AC_SL1500_.jpg