mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-05 23:10:58 +00:00
Added support for the ROG RAIKIRI
This commit is contained in:
parent
d7a875432b
commit
a04596c9a7
5 changed files with 10 additions and 0 deletions
|
@ -281,6 +281,7 @@ public class HIDDeviceManager {
|
||||||
0x044f, // Thrustmaster
|
0x044f, // Thrustmaster
|
||||||
0x045e, // Microsoft
|
0x045e, // Microsoft
|
||||||
0x0738, // Mad Catz
|
0x0738, // Mad Catz
|
||||||
|
0x0b05, // ASUS
|
||||||
0x0e6f, // PDP
|
0x0e6f, // PDP
|
||||||
0x0f0d, // Hori
|
0x0f0d, // Hori
|
||||||
0x10f5, // Turtle Beach
|
0x10f5, // Turtle Beach
|
||||||
|
|
|
@ -872,6 +872,7 @@ static int is_xboxone(unsigned short vendor_id, const struct libusb_interface_de
|
||||||
0x044f, /* Thrustmaster */
|
0x044f, /* Thrustmaster */
|
||||||
0x045e, /* Microsoft */
|
0x045e, /* Microsoft */
|
||||||
0x0738, /* Mad Catz */
|
0x0738, /* Mad Catz */
|
||||||
|
0x0b05, /* ASUS */
|
||||||
0x0e6f, /* PDP */
|
0x0e6f, /* PDP */
|
||||||
0x0f0d, /* Hori */
|
0x0f0d, /* Hori */
|
||||||
0x10f5, /* Turtle Beach */
|
0x10f5, /* Turtle Beach */
|
||||||
|
|
|
@ -2991,6 +2991,11 @@ SDL_bool SDL_IsJoystickXboxSeriesX(Uint16 vendor_id, Uint16 product_id)
|
||||||
return SDL_TRUE;
|
return SDL_TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (vendor_id == USB_VENDOR_ASUS) {
|
||||||
|
if (product_id == USB_PRODUCT_ROG_RAIKIRI) {
|
||||||
|
return SDL_TRUE;
|
||||||
|
}
|
||||||
|
}
|
||||||
return SDL_FALSE;
|
return SDL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -275,6 +275,7 @@ static SDL_GamepadType SDL_GetJoystickGameControllerProtocol(const char *name, U
|
||||||
0x044f, /* Thrustmaster */
|
0x044f, /* Thrustmaster */
|
||||||
0x045e, /* Microsoft */
|
0x045e, /* Microsoft */
|
||||||
0x0738, /* Mad Catz */
|
0x0738, /* Mad Catz */
|
||||||
|
0x0b05, /* ASUS */
|
||||||
0x0e6f, /* PDP */
|
0x0e6f, /* PDP */
|
||||||
0x0f0d, /* Hori */
|
0x0f0d, /* Hori */
|
||||||
0x10f5, /* Turtle Beach */
|
0x10f5, /* Turtle Beach */
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#define USB_VENDOR_AMAZON 0x1949
|
#define USB_VENDOR_AMAZON 0x1949
|
||||||
#define USB_VENDOR_APPLE 0x05ac
|
#define USB_VENDOR_APPLE 0x05ac
|
||||||
#define USB_VENDOR_ASTRO 0x9886
|
#define USB_VENDOR_ASTRO 0x9886
|
||||||
|
#define USB_VENDOR_ASUS 0x0b05
|
||||||
#define USB_VENDOR_BACKBONE 0x358a
|
#define USB_VENDOR_BACKBONE 0x358a
|
||||||
#define USB_VENDOR_GAMESIR 0x3537
|
#define USB_VENDOR_GAMESIR 0x3537
|
||||||
#define USB_VENDOR_DRAGONRISE 0x0079
|
#define USB_VENDOR_DRAGONRISE 0x0079
|
||||||
|
@ -107,6 +108,7 @@
|
||||||
#define USB_PRODUCT_RAZER_WOLVERINE_V2_PRO_PS5_WIRELESS 0x100c
|
#define USB_PRODUCT_RAZER_WOLVERINE_V2_PRO_PS5_WIRELESS 0x100c
|
||||||
#define USB_PRODUCT_RAZER_WOLVERINE_V2_PRO_XBOX_WIRED 0x1010
|
#define USB_PRODUCT_RAZER_WOLVERINE_V2_PRO_XBOX_WIRED 0x1010
|
||||||
#define USB_PRODUCT_RAZER_WOLVERINE_V2_PRO_XBOX_WIRELESS 0x1011
|
#define USB_PRODUCT_RAZER_WOLVERINE_V2_PRO_XBOX_WIRELESS 0x1011
|
||||||
|
#define USB_PRODUCT_ROG_RAIKIRI 0x1a38
|
||||||
#define USB_PRODUCT_SAITEK_CYBORG_V3 0xf622
|
#define USB_PRODUCT_SAITEK_CYBORG_V3 0xf622
|
||||||
#define USB_PRODUCT_SHANWAN_DS3 0x0523
|
#define USB_PRODUCT_SHANWAN_DS3 0x0523
|
||||||
#define USB_PRODUCT_SONY_DS3 0x0268
|
#define USB_PRODUCT_SONY_DS3 0x0268
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue