Sfoglia il codice sorgente

Added the Razer Junglecat to the wraparound controller list

Sam Lantinga 2 anni fa
parent
commit
c207cd3f56
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/joystick/SDL_joystick.c

+ 2 - 0
src/joystick/SDL_joystick.c

@@ -565,6 +565,8 @@ static SDL_bool IsROGAlly(SDL_Joystick *joystick)
 static SDL_bool ShouldAttemptSensorFusion(SDL_Joystick *joystick)
 {
     static Uint32 wraparound_gamepads[] = {
+        MAKE_VIDPID(0x1532, 0x0709),    /* Razer Junglecat (L) */
+        MAKE_VIDPID(0x1532, 0x070a),    /* Razer Junglecat (R) */
         MAKE_VIDPID(0x1949, 0x0402),    /* Ipega PG-9083S */
         MAKE_VIDPID(0x27f8, 0x0bbc),    /* Gamevice */
         MAKE_VIDPID(0x27f8, 0x0bbf),    /* Razer Kishi */