mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-17 23:31:45 +00:00
Added support for the Hori Fighting Stick Alpha to the HIDAPI driver
This commit is contained in:
@@ -1123,7 +1123,8 @@ 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 == 0x00dc) /* HORIPAD */ ||
|
||||
(idVendor == 0x0f0d && idProduct == 0x011e) /* Hori Fighting Stick α */) {
|
||||
unsigned char data[20];
|
||||
|
||||
/* The HORIPAD FPS for Nintendo Switch requires this to enable input reports.
|
||||
|
Reference in New Issue
Block a user