USB4MAPLE adapter

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

Moderators: pcwzrd13, deluxux, VasiliyRS

User avatar
megavolt85
Developer
Posts: 1947

Re: USB4MAPLE adapter

Post by megavolt85 »

MoeFoh wrote: Wed May 01, 2024 12:54 pm pro2 debug report
ok, i'm look this structure

ID HH X1 Y1 X2 Y2 R1 L1 B1 B2 CH
03 0F 7F 7F 7F 7F 00 00 00 00 64
ID - report id (constant)
HH - hat (d-pad)
X1, Y1 - left analog
X2, Y2 - right analog
R1, L1 - analog triggers
B1, B2 - 16 buttons
CH - battery charge level

Now you need to determine the correspondence of the buttons, press the button on the controller and write down the value B1 B2, this must be done for all buttons

User avatar
MoeFoh
Outrun
Posts: 1135

Re: USB4MAPLE adapter

Post by MoeFoh »

megavolt85 wrote: Wed May 01, 2024 1:33 pm
MoeFoh wrote: Wed May 01, 2024 12:54 pm pro2 debug report
ok, i'm look this structure

ID HH X1 Y1 X2 Y2 R1 L1 B1 B2 CH
03 0F 7F 7F 7F 7F 00 00 00 00 64
ID - report id (constant)
HH - hat (d-pad)
X1, Y1 - left analog
X2, Y2 - right analog
R1, L1 - analog triggers
B1, B2 - 16 buttons
CH - battery charge level

Now you need to determine the correspondence of the buttons, press the button on the controller and write down the value B1 B2, this must be done for all buttons
I think I got them all?
pro2-button-scans.txt
(502 Bytes) Downloaded 13 times

User avatar
MoeFoh
Outrun
Posts: 1135

Re: USB4MAPLE adapter

Post by MoeFoh »

Pro 2 report (final):
pro2-buttons-axis-report.txt
(996 Bytes) Downloaded 7 times
Last edited by MoeFoh on Thu May 02, 2024 8:13 am, edited 3 times in total.

User avatar
megavolt85
Developer
Posts: 1947

Re: USB4MAPLE adapter

Post by megavolt85 »

B12 -home
B15 - star
and axis swaped, i'm look by log what
Axis 0 = x (left stick)
Axis 1 = y (left stick)
Axis 2 = x (right stick)
Axis 3 = y (right stick)
Axis 4 = right trigger
Axis 5 = left trigger

but not shue about right/left trigger, may be is swaped

User avatar
MoeFoh
Outrun
Posts: 1135

Re: USB4MAPLE adapter

Post by MoeFoh »

megavolt85 wrote: Wed May 01, 2024 3:31 pm B12 -home
B15 - star
and axis swaped, i'm look by log what
Axis 0 = x (left stick)
Axis 1 = y (left stick)
Axis 2 = x (right stick)
Axis 3 = y (right stick)
Axis 4 = right trigger
Axis 5 = left trigger

but not shue about right/left trigger, may be is swaped
yes, B12 = home
B15 = shows nothing, null (it's internal to enable turbo)

yes, I get the same with the debug firmware reading to left to right starting at axis 0. I'm going to ignore what gametester.com says on the axis, buttons seem accurate.
Axis 0 = x (left stick)
Axis 1 = y (left stick)
Axis 2 = x (right stick)
Axis 3 = y (right stick)
Axis 4 = right trigger (verified)
Axis 5 = left trigger (verified)

User avatar
megavolt85
Developer
Posts: 1947

Re: USB4MAPLE adapter

Post by megavolt85 »

USB4MAPLE(8BitDo Pro 2 test).7z
(47 KiB) Downloaded 13 times
ok, test it
HOME is hot key for mode switch, ABXY is four modes

Baba
noob
Posts: 2

Re: USB4MAPLE adapter

Post by Baba »

Out of all the game consoles ever made, the DC has the best community around it by far. Its amazing what some of yall accomplish. I don't use a lot of it personally but I can't thank yall enough for what you make possible for everyone.

User avatar
MoeFoh
Outrun
Posts: 1135

Re: USB4MAPLE adapter

Post by MoeFoh »

megavolt85 wrote: Wed May 01, 2024 4:11 pm USB4MAPLE(8BitDo Pro 2 test).7z
ok, test it
HOME is hot key for mode switch, ABXY is four modes
You, sir, are operating in genius territory. All 4 modes working as expected.
No rumble as expected. Pro 2 doesn't support in d-input mode, anyway.

IMO, this is 8bitdo's best controller. It's the last of the "works with everything design" and fully customizable with their Ultimate software with 3 on the fly profile changes. Their new controllers don't interest me and are limited in compatibility.

Anyway, thanks a bunch. Seems like we have a decent template in place for additional device support, yes?

User avatar
megavolt85
Developer
Posts: 1947

Re: USB4MAPLE adapter

Post by megavolt85 »

MoeFoh wrote: Wed May 01, 2024 4:33 pm Seems like we have a decent template in place for additional device support, yes?
yep :D
try switch to Xinput and upload log

User avatar
MoeFoh
Outrun
Posts: 1135

Re: USB4MAPLE adapter

Post by MoeFoh »

megavolt85 wrote: Wed May 01, 2024 4:37 pm
MoeFoh wrote: Wed May 01, 2024 4:33 pm Seems like we have a decent template in place for additional device support, yes?
yep :D
try switch to Xinput and upload log
On it.