The PowerA Xbox One Mini Wired Controller works with the HIDAPI driver now
parent
a2d66b6a91
commit
7e11b09b3b
|
@ -334,12 +334,6 @@ HIDAPI_DriverXboxOne_IsEnabled(void)
|
|||
static SDL_bool
|
||||
HIDAPI_DriverXboxOne_IsSupportedDevice(SDL_HIDAPI_Device *device, const char *name, SDL_GameControllerType type, Uint16 vendor_id, Uint16 product_id, Uint16 version, int interface_number, int interface_class, int interface_subclass, int interface_protocol)
|
||||
{
|
||||
#ifdef __LINUX__
|
||||
if (vendor_id == USB_VENDOR_POWERA && product_id == 0x541a) {
|
||||
/* The PowerA Mini controller, model 1240245-01, blocks while writing feature reports */
|
||||
return SDL_FALSE;
|
||||
}
|
||||
#endif
|
||||
#ifdef __MACOSX__
|
||||
/* Wired Xbox One controllers are handled by the 360Controller driver */
|
||||
if (!SDL_IsJoystickBluetoothXboxOne(vendor_id, product_id)) {
|
||||
|
|
Loading…
Reference in New Issue