Skip to content

Commit db154c8

Browse files
committed
Added HIDAPI mapping for the 8BitDo SF30 Pro
1 parent ec685e8 commit db154c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/joystick/SDL_gamepad.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,9 @@ static GamepadMapping_t *SDL_CreateMappingForHIDAPIGamepad(SDL_GUID guid)
780780
break;
781781
}
782782
} else if (vendor == USB_VENDOR_8BITDO &&
783-
(product == USB_PRODUCT_8BITDO_SN30_PRO ||
783+
(product == USB_PRODUCT_8BITDO_SF30_PRO ||
784+
product == USB_PRODUCT_8BITDO_SF30_PRO_BT ||
785+
product == USB_PRODUCT_8BITDO_SN30_PRO ||
784786
product == USB_PRODUCT_8BITDO_SN30_PRO_BT ||
785787
product == USB_PRODUCT_8BITDO_PRO_2 ||
786788
product == USB_PRODUCT_8BITDO_PRO_2_BT)) {

0 commit comments

Comments
 (0)