mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-23 14:31:56 +00:00
Added support for the Dragonrise GameCube adapter with VID 0x1843
(cherry picked from commit fbb6934905)
This commit is contained in:
parent
a14b948b6c
commit
03f29c19dc
3 changed files with 8 additions and 3 deletions
|
|
@ -78,7 +78,9 @@ static SDL_bool HIDAPI_DriverGameCube_IsSupportedDevice(SDL_HIDAPI_Device *devic
|
|||
/* Nintendo Co., Ltd. Wii U GameCube Controller Adapter */
|
||||
return SDL_TRUE;
|
||||
}
|
||||
if (vendor_id == USB_VENDOR_DRAGONRISE && product_id == USB_PRODUCT_EVORETRO_GAMECUBE_ADAPTER) {
|
||||
if (vendor_id == USB_VENDOR_DRAGONRISE &&
|
||||
(product_id == USB_PRODUCT_EVORETRO_GAMECUBE_ADAPTER1 ||
|
||||
product_id == USB_PRODUCT_EVORETRO_GAMECUBE_ADAPTER2)) {
|
||||
/* EVORETRO GameCube Controller Adapter */
|
||||
return SDL_TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue