Browse Source

The PowerA Xbox One Mini Wired Controller works with the HIDAPI driver now

Sam Lantinga 2 years ago
parent
commit
7e11b09b3b
1 changed files with 0 additions and 6 deletions
  1. 0 6
      src/joystick/hidapi/SDL_hidapi_xboxone.c

+ 0 - 6
src/joystick/hidapi/SDL_hidapi_xboxone.c

@@ -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)) {