SDL: Detect the G923 (Xbox style) and PXN V900 (PS3 mode) as wheels

From 7237c5649994d2b2c2b364c3b116a6db80ea671d Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 1 Dec 2022 14:43:34 -0800
Subject: [PATCH] Detect the G923 (Xbox style) and PXN V900 (PS3 mode) as
 wheels

---
 src/joystick/SDL_joystick.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c
index 0736322d78fd..f91031eb017b 100644
--- a/src/joystick/SDL_joystick.c
+++ b/src/joystick/SDL_joystick.c
@@ -2338,6 +2338,7 @@ SDL_IsJoystickVirtual(SDL_JoystickGUID guid)
 static SDL_bool SDL_IsJoystickProductWheel(Uint32 vidpid)
 {
     static Uint32 wheel_joysticks[] = {
+        MAKE_VIDPID(0x0079, 0x1864), /* PXN V900 (PS3) */
         MAKE_VIDPID(0x046d, 0xc294), /* Logitech generic wheel */
         MAKE_VIDPID(0x046d, 0xc295), /* Logitech Momo Force */
         MAKE_VIDPID(0x046d, 0xc298), /* Logitech Driving Force Pro */
@@ -2348,6 +2349,7 @@ static SDL_bool SDL_IsJoystickProductWheel(Uint32 vidpid)
         MAKE_VIDPID(0x046d, 0xc260), /* Logitech G29 (PS4) */
         MAKE_VIDPID(0x046d, 0xc261), /* Logitech G920 (initial mode) */
         MAKE_VIDPID(0x046d, 0xc262), /* Logitech G920 (active mode) */
+        MAKE_VIDPID(0x046d, 0xc26d), /* Logitech G923 (Xbox) */
         MAKE_VIDPID(0x046d, 0xc26e), /* Logitech G923 */
         MAKE_VIDPID(0x046d, 0xca03), /* Logitech Momo Racing */
         MAKE_VIDPID(0x044f, 0xb65d), /* Thrustmaster Wheel FFB */