瀏覽代碼

Added the Razer Junglecat to the wraparound controller list

Sam Lantinga 2 年之前
父節點
當前提交
c207cd3f56
共有 1 個文件被更改,包括 2 次插入0 次删除
  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 SDL_bool ShouldAttemptSensorFusion(SDL_Joystick *joystick)
 {
 {
     static Uint32 wraparound_gamepads[] = {
     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(0x1949, 0x0402),    /* Ipega PG-9083S */
         MAKE_VIDPID(0x27f8, 0x0bbc),    /* Gamevice */
         MAKE_VIDPID(0x27f8, 0x0bbc),    /* Gamevice */
         MAKE_VIDPID(0x27f8, 0x0bbf),    /* Razer Kishi */
         MAKE_VIDPID(0x27f8, 0x0bbf),    /* Razer Kishi */