Added support for the Switch 2 Joy-Cons with charging grip
This commit is contained in:
1 parent
6136ba7a74
commit
4b93e7488f
8 files changed
+549
-130
No files matched your search
@@ -844,8 +844,10 @@ static const struct {
|
||||
Uint16 product;
|
||||
} SDL_libusb_whitelist[] = {
|
||||
{ USB_VENDOR_NINTENDO, USB_PRODUCT_NINTENDO_GAMECUBE_ADAPTER },
|
||||
{ USB_VENDOR_NINTENDO, USB_PRODUCT_NINTENDO_SWITCH2_PRO },
|
||||
{ USB_VENDOR_NINTENDO, USB_PRODUCT_NINTENDO_SWITCH2_GAMECUBE_CONTROLLER },
|
||||
{ USB_VENDOR_NINTENDO, USB_PRODUCT_NINTENDO_SWITCH2_JOYCON_LEFT },
|
||||
{ USB_VENDOR_NINTENDO, USB_PRODUCT_NINTENDO_SWITCH2_JOYCON_RIGHT },
|
||||
{ USB_VENDOR_NINTENDO, USB_PRODUCT_NINTENDO_SWITCH2_PRO },
|
||||
};
|
||||
|
||||
static bool IsInWhitelist(Uint16 vendor, Uint16 product)
|
||||
|
||||
Reference in new issue
Block a user