瀏覽代碼

Ignore the ASRock LED controller, it's not a joystick

Sam Lantinga 5 年之前
父節點
當前提交
26706319d7
共有 1 個文件被更改,包括 1 次插入 和 2 次删除
  1. 1 2
      src/joystick/SDL_joystick.c

+ 1 - 2
src/joystick/SDL_joystick.c

@@ -2396,10 +2396,9 @@ SDL_bool SDL_ShouldIgnoreJoystick(const char *name, SDL_JoystickGUID guid)
         /* Additional entries                                            */
         /*****************************************************************/
 
-        /* Anne Pro II Keyboard */
         MAKE_VIDPID(0x04d9, 0x8009),  /* OBINLB USB-HID Keyboard */
-
         MAKE_VIDPID(0x0b05, 0x1958),  /* ROG Chakram Mouse */
+        MAKE_VIDPID(0x26ce, 0x01a2),  /* ASRock LED Controller */
     };
 
     unsigned int i;