2
0
Эх сурвалжийг харах

Added support for the PowerA Battle Dragon Advanced Wireless Controller

(cherry picked from commit 1e6a25324c6d321bd7e391a33a1120721dd52518)
Sam Lantinga 3 сар өмнө
parent
commit
362445460e

+ 1 - 0
src/hidapi/libusb/hid.c

@@ -1238,6 +1238,7 @@ static void init_xbox360(libusb_device_handle *device_handle, unsigned short idV
 	(void)conf_desc;
 
 	if ((idVendor == 0x05ac && idProduct == 0x055b) /* Gamesir-G3w */ ||
+	    (idVendor == 0x20d6 && idProduct == 0x4010) /* PowerA Battle Dragon Advanced Wireless Controller */ ||
 	    idVendor == 0x0f0d /* Hori Xbox controllers */) {
 		unsigned char data[20];