Browse Source

Added PowerA and Qanba vendors for Android USB device support

Sam Lantinga 3 years ago
parent
commit
27d8cbf026

+ 3 - 0
android-project/app/src/main/java/org/libsdl/app/HIDDeviceManager.java

@@ -248,7 +248,9 @@ public class HIDDeviceManager {
             0x1689, // Razer Onza
             0x1689, // Razer Onza
             0x1949, // Lab126, Inc.
             0x1949, // Lab126, Inc.
             0x1bad, // Harmonix
             0x1bad, // Harmonix
+            0x20d6, // PowerA
             0x24c6, // PowerA
             0x24c6, // PowerA
+            0x2c22, // Qanba
         };
         };
 
 
         if (usbInterface.getInterfaceClass() == UsbConstants.USB_CLASS_VENDOR_SPEC &&
         if (usbInterface.getInterfaceClass() == UsbConstants.USB_CLASS_VENDOR_SPEC &&
@@ -274,6 +276,7 @@ public class HIDDeviceManager {
             0x0e6f, // PDP
             0x0e6f, // PDP
             0x0f0d, // Hori
             0x0f0d, // Hori
             0x1532, // Razer Wildcat
             0x1532, // Razer Wildcat
+            0x20d6, // PowerA
             0x24c6, // PowerA
             0x24c6, // PowerA
             0x2e24, // Hyperkin
             0x2e24, // Hyperkin
         };
         };