mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-30 05:18:13 +08:00
Added support for the PowerA Battle Dragon Advanced Wireless Controller
This commit is contained in:
@@ -1242,6 +1242,7 @@ static void init_xbox360(libusb_device_handle *device_handle, unsigned short idV
|
|||||||
(void)conf_desc;
|
(void)conf_desc;
|
||||||
|
|
||||||
if ((idVendor == 0x05ac && idProduct == 0x055b) /* Gamesir-G3w */ ||
|
if ((idVendor == 0x05ac && idProduct == 0x055b) /* Gamesir-G3w */ ||
|
||||||
|
(idVendor == 0x20d6 && idProduct == 0x4010) /* PowerA Battle Dragon Advanced Wireless Controller */ ||
|
||||||
idVendor == 0x0f0d /* Hori Xbox controllers */) {
|
idVendor == 0x0f0d /* Hori Xbox controllers */) {
|
||||||
unsigned char data[20];
|
unsigned char data[20];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user