8bitdo wired Pro2 vs. gamecontrollerdb vs. Crazy Climber
Posted: Thu Sep 29, 2022 8:17 pm
Hi all
I'm trying to make my 8bitdo Pro 2 (wired) controller behave as good as my other SN30 Pro, without success (and yes I plug it in while holding the B button)
For instance in Crazy Climber the SN30 Pro works absolutely fine, whereas the right joystick of the Pro 2 is only partially working in the core controller configuration..
The idea was to alter the mapping in the MiSTer gamecontrollerdb file Pro2 entry, but... Which one of the two entries in gamecontrollerdb was being used?
Neither of them was similar to the IDs reported by lsusb, dmesg and the SDL test utilities - and those info were different to each other, to begin with.
So I've created a new top entry in the gamecontrollerdb file, matching the ID reported by the SDL utility; no way, the Pro 2 is still being recognized as itself.
By the way: in my mind the Pro 2 should have had an ID like "**000000c82d000010300000********" according to the lsusb info, but instead it shows as "03000000c82d00000631000000007200" in the SDL test utilities - and possibly something else entirely during the MiSTer detection, I guess.
Any suggestions as to what I may be doing wrong, and possibly how to achieve my goal? Please find here below all the bloody info I'v ecollected.
Thanks in advance, and apologies for the long post!
******************************************************************************** DETAILS ************************************************************************
lsusb: Bus 001 Device 008: ID 2dc8:3010 8BitDo 8BitDo Pro 2
SDL testgamecontroller: 03000000c82d00000631000000007200
MiSTer gamecontrollerdb entries:
03000000c82d00000660000011010000,8BitDo Pro 2,a:b1,b:b0,back:b10,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b12,leftshoulder:b6,
leftstick:b13,lefttrigger:a5,leftx:a0,lefty:a1,rightshoulder:b7,rightstick:b14,righttrigger:a4,rightx:a2,righty:a3,start:b11,x:b4,y:b3,platform:Linux,
05000000c82d00000660000000010000,8BitDo Pro 2,a:b1,b:b0,back:b10,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b12,leftshoulder:b6,
leftstick:b13,lefttrigger:a5,leftx:a0,lefty:a1,rightshoulder:b7,rightstick:b14,righttrigger:a4,rightx:a2,righty:a3,start:b11,x:b4,y:b3,platform:Linux,
(03000000c82d00000631000000007200 is the ID reported by the SDL tools)
dmesg:
usb 1-1.2: new full-speed USB device number 3 using dwc2
usb 1-1.2: New USB device found, idVendor=2dc8, idProduct=3010, bcdDevice= 2.00
usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.2: Product: 8BitDo Pro 2
usb 1-1.2: Manufacturer: 8BitDo
usb 1-1.2: SerialNumber: 000000000003
HID usage: 0x00010005, original interval: 4
JS: endpoint->bInterval=4, interval=4
HID usage: 0x00010005, applied interval: 4
HID usage: 0x00010005, original interval: 4
JS: endpoint->bInterval=4, interval=4
HID usage: 0x00010005, applied interval: 4
input: 8BitDo 8BitDo Pro 2 as /devices/platform/soc/ffb40000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:2DC8:3010.0001/input/input0
hid-generic 0003:2DC8:3010.0001: input,hidraw0: USB HID v1.11 Gamepad [8BitDo 8BitDo Pro 2] on usb-ffb40000.usb-1.2/input0
usb 1-1.3: new full-speed USB device number 4 using dwc2
usb 1-1.3: New USB device found, idVendor=045e, idProduct=028e, bcdDevice= 1.14
usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.3: Product: Controller
usb 1-1.3: Manufacturer: Controller
usb 1-1.3: SerialNumber: Controller
XPAD: original out.bInterval=8 -> new interval=8
XPAD: original in.bInterval=4 -> new interval=4
input: Microsoft X-Box 360 pad as /devices/platform/soc/ffb40000.usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input1
usb 1-1.4: new high-speed USB
*****************************************************************************************************************************************
I'm trying to make my 8bitdo Pro 2 (wired) controller behave as good as my other SN30 Pro, without success (and yes I plug it in while holding the B button)
For instance in Crazy Climber the SN30 Pro works absolutely fine, whereas the right joystick of the Pro 2 is only partially working in the core controller configuration..
The idea was to alter the mapping in the MiSTer gamecontrollerdb file Pro2 entry, but... Which one of the two entries in gamecontrollerdb was being used?
Neither of them was similar to the IDs reported by lsusb, dmesg and the SDL test utilities - and those info were different to each other, to begin with.
So I've created a new top entry in the gamecontrollerdb file, matching the ID reported by the SDL utility; no way, the Pro 2 is still being recognized as itself.
By the way: in my mind the Pro 2 should have had an ID like "**000000c82d000010300000********" according to the lsusb info, but instead it shows as "03000000c82d00000631000000007200" in the SDL test utilities - and possibly something else entirely during the MiSTer detection, I guess.
Any suggestions as to what I may be doing wrong, and possibly how to achieve my goal? Please find here below all the bloody info I'v ecollected.
Thanks in advance, and apologies for the long post!
******************************************************************************** DETAILS ************************************************************************
lsusb: Bus 001 Device 008: ID 2dc8:3010 8BitDo 8BitDo Pro 2
SDL testgamecontroller: 03000000c82d00000631000000007200
MiSTer gamecontrollerdb entries:
03000000c82d00000660000011010000,8BitDo Pro 2,a:b1,b:b0,back:b10,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b12,leftshoulder:b6,
leftstick:b13,lefttrigger:a5,leftx:a0,lefty:a1,rightshoulder:b7,rightstick:b14,righttrigger:a4,rightx:a2,righty:a3,start:b11,x:b4,y:b3,platform:Linux,
05000000c82d00000660000000010000,8BitDo Pro 2,a:b1,b:b0,back:b10,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b12,leftshoulder:b6,
leftstick:b13,lefttrigger:a5,leftx:a0,lefty:a1,rightshoulder:b7,rightstick:b14,righttrigger:a4,rightx:a2,righty:a3,start:b11,x:b4,y:b3,platform:Linux,
(03000000c82d00000631000000007200 is the ID reported by the SDL tools)
dmesg:
usb 1-1.2: new full-speed USB device number 3 using dwc2
usb 1-1.2: New USB device found, idVendor=2dc8, idProduct=3010, bcdDevice= 2.00
usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.2: Product: 8BitDo Pro 2
usb 1-1.2: Manufacturer: 8BitDo
usb 1-1.2: SerialNumber: 000000000003
HID usage: 0x00010005, original interval: 4
JS: endpoint->bInterval=4, interval=4
HID usage: 0x00010005, applied interval: 4
HID usage: 0x00010005, original interval: 4
JS: endpoint->bInterval=4, interval=4
HID usage: 0x00010005, applied interval: 4
input: 8BitDo 8BitDo Pro 2 as /devices/platform/soc/ffb40000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:2DC8:3010.0001/input/input0
hid-generic 0003:2DC8:3010.0001: input,hidraw0: USB HID v1.11 Gamepad [8BitDo 8BitDo Pro 2] on usb-ffb40000.usb-1.2/input0
usb 1-1.3: new full-speed USB device number 4 using dwc2
usb 1-1.3: New USB device found, idVendor=045e, idProduct=028e, bcdDevice= 1.14
usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.3: Product: Controller
usb 1-1.3: Manufacturer: Controller
usb 1-1.3: SerialNumber: Controller
XPAD: original out.bInterval=8 -> new interval=8
XPAD: original in.bInterval=4 -> new interval=4
input: Microsoft X-Box 360 pad as /devices/platform/soc/ffb40000.usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input1
usb 1-1.4: new high-speed USB
*****************************************************************************************************************************************