Browse Source

Added Moza wheelbases VID/PID to wheel devices list

(cherry picked from commit 79cabeef18ccbf27f3d2d6bd43fbfcc974569277)
(cherry picked from commit 96e379949545c24152e50abed24fa1cd7c06f877)
Oleg 1 year ago
parent
commit
9ad6a36b7b
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/joystick/SDL_joystick.c

+ 5 - 0
src/joystick/SDL_joystick.c

@@ -394,6 +394,11 @@ static Uint32 initial_wheel_devices[] = {
     MAKE_VIDPID(0x2433, 0xf303), /* Asetek SimSports La Prima Wheelbase */
     MAKE_VIDPID(0x2433, 0xf306), /* Asetek SimSports Tony Kannan Wheelbase */
     MAKE_VIDPID(0x3416,	0x0301), /* Cammus C5 Wheelbase */
+    MAKE_VIDPID(0x346e, 0x0000), /* Moza R16/R21 Wheelbase */
+    MAKE_VIDPID(0x346e, 0x0002), /* Moza R9 Wheelbase */
+    MAKE_VIDPID(0x346e, 0x0004), /* Moza R5 Wheelbase */
+    MAKE_VIDPID(0x346e, 0x0005), /* Moza R3 Wheelbase */
+    MAKE_VIDPID(0x346e, 0x0006), /* Moza R12 Wheelbase */
 };
 static SDL_vidpid_list wheel_devices = {
     SDL_HINT_JOYSTICK_WHEEL_DEVICES, 0, 0, NULL,