mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01:00
Added support for the Saitek Pro Flight X-56 Rhino
This commit is contained in:
parent
6717a3d38d
commit
be28d7c88c
@ -996,7 +996,8 @@ static SDL_bool SDL_IsJoystickProductWheel(Uint32 vidpid)
|
|||||||
static SDL_bool SDL_IsJoystickProductFlightStick(Uint32 vidpid)
|
static SDL_bool SDL_IsJoystickProductFlightStick(Uint32 vidpid)
|
||||||
{
|
{
|
||||||
static Uint32 flightstick_joysticks[] = {
|
static Uint32 flightstick_joysticks[] = {
|
||||||
MAKE_VIDPID(0x044f, 0x0402), /* HOTAS Warthog */
|
MAKE_VIDPID(0x044f, 0x0402), /* HOTAS Warthog Joystick */
|
||||||
|
MAKE_VIDPID(0x0738, 0x2221), /* Saitek Pro Flight X-56 Rhino Stick */
|
||||||
};
|
};
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
@ -1011,7 +1012,8 @@ static SDL_bool SDL_IsJoystickProductFlightStick(Uint32 vidpid)
|
|||||||
static SDL_bool SDL_IsJoystickProductThrottle(Uint32 vidpid)
|
static SDL_bool SDL_IsJoystickProductThrottle(Uint32 vidpid)
|
||||||
{
|
{
|
||||||
static Uint32 throttle_joysticks[] = {
|
static Uint32 throttle_joysticks[] = {
|
||||||
MAKE_VIDPID(0x044f, 0x0404), /* HOTAS Warthog */
|
MAKE_VIDPID(0x044f, 0x0404), /* HOTAS Warthog Throttle */
|
||||||
|
MAKE_VIDPID(0x0738, 0xa221), /* Saitek Pro Flight X-56 Rhino Throttle */
|
||||||
};
|
};
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user