Commit be28d7c88ce3e1b20642a989a8c53c780a3e017a

Sam Lantinga 2017-01-31T12:30:55

Added support for the Saitek Pro Flight X-56 Rhino

diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c
index 9b1968d..12eccf2 100644
--- a/src/joystick/SDL_joystick.c
+++ b/src/joystick/SDL_joystick.c
@@ -996,7 +996,8 @@ static SDL_bool SDL_IsJoystickProductWheel(Uint32 vidpid)
 static SDL_bool SDL_IsJoystickProductFlightStick(Uint32 vidpid)
 {
     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;
 
@@ -1011,7 +1012,8 @@ static SDL_bool SDL_IsJoystickProductFlightStick(Uint32 vidpid)
 static SDL_bool SDL_IsJoystickProductThrottle(Uint32 vidpid)
 {
     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;