Added support for the HORI Fighting Commander OCTA (Xbox Series X and PS versions)

This commit is contained in:
Sam Lantinga
2022-09-16 15:41:35 -07:00
parent 5fba31f6fb
commit 2e9f5b5989
6 changed files with 22 additions and 13 deletions

View File

@@ -1123,8 +1123,7 @@ static int SDLCALL read_thread(void *param)
static void init_xbox360(libusb_device_handle *device_handle, unsigned short idVendor, unsigned short idProduct, struct libusb_config_descriptor *conf_desc)
{
if ((idVendor == 0x05ac && idProduct == 0x055b) /* Gamesir-G3w */ ||
(idVendor == 0x0f0d && idProduct == 0x00dc) /* HORIPAD */ ||
(idVendor == 0x0f0d && idProduct == 0x011e) /* Hori Fighting Stick α */) {
idVendor == 0x0f0d /* Hori Xbox controllers */) {
unsigned char data[20];
/* The HORIPAD FPS for Nintendo Switch requires this to enable input reports.