Browse Source

Fix Anne Pro II keyboard showing up as a joystick

Having used this for a couple years, I can definitely confirm that it is not a joystick.
Joshua Ashton 3 years ago
parent
commit
ca383599b5
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/joystick/SDL_joystick.c

+ 3 - 0
src/joystick/SDL_joystick.c

@@ -2312,6 +2312,9 @@ SDL_bool SDL_ShouldIgnoreJoystick(const char *name, SDL_JoystickGUID guid)
 
         MAKE_VIDPID(0x2516, 0x001f),  /* Cooler Master Storm Mizar Mouse */
         MAKE_VIDPID(0x2516, 0x0028),  /* Cooler Master Storm Alcor Mouse */
+
+        /* Anne Pro II Keyboard */
+        MAKE_VIDPID(0x04d9, 0x8009),  /* OBINLB USB-HID Keyboard */
     };
 
     unsigned int i;