Skip to content

Commit d53fcab

Browse files
committed
Reordered the 8BitDo Pro 3 controller
1 parent f2ae650 commit d53fcab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/joystick/hidapi/SDL_hidapi_8bitdo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,9 @@ static Uint64 HIDAPI_Driver8BitDo_GetIMURateForProductID(SDL_HIDAPI_Device *devi
256256
// This firmware appears to update at 100 Hz over USB
257257
return 100;
258258
}
259-
case USB_PRODUCT_8BITDO_PRO_3:
260259
case USB_PRODUCT_8BITDO_PRO_2:
261260
case USB_PRODUCT_8BITDO_PRO_2_BT: // Note, labeled as "BT" but appears this way when wired.
261+
case USB_PRODUCT_8BITDO_PRO_3:
262262
if (device->is_bluetooth) {
263263
// Note, This is estimated by observation of Bluetooth packets received in the testcontroller tool
264264
return 85; // Observed Bluetooth packet rate seems to be 80-90hz

src/joystick/usb_ids.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@
6060
#define USB_VENDOR_VALVE 0x28de
6161
#define USB_VENDOR_ZEROPLUS 0x0c12
6262

63-
#define USB_PRODUCT_8BITDO_ULTIMATE2_WIRELESS 0x6012 // mode switch to BT
64-
#define USB_PRODUCT_8BITDO_PRO_3 0x6009 // mode switch to D
6563
#define USB_PRODUCT_8BITDO_SF30_PRO 0x6000 // B + START
6664
#define USB_PRODUCT_8BITDO_SF30_PRO_BT 0x6100 // B + START
6765
#define USB_PRODUCT_8BITDO_SN30_PRO 0x6001 // B + START
6866
#define USB_PRODUCT_8BITDO_SN30_PRO_BT 0x6101 // B + START
6967
#define USB_PRODUCT_8BITDO_PRO_2 0x6003 // mode switch to D
7068
#define USB_PRODUCT_8BITDO_PRO_2_BT 0x6006 // mode switch to D
69+
#define USB_PRODUCT_8BITDO_PRO_3 0x6009 // mode switch to D
70+
#define USB_PRODUCT_8BITDO_ULTIMATE2_WIRELESS 0x6012 // mode switch to BT
7171
#define USB_PRODUCT_AMAZON_LUNA_CONTROLLER 0x0419
7272
#define USB_PRODUCT_ASTRO_C40_XBOX360 0x0024
7373
#define USB_PRODUCT_BACKBONE_ONE_IOS 0x0103

0 commit comments

Comments
 (0)