From ca383599b5c99cc66b3c1ea6be509ff3b243b50b Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Sun, 27 Jun 2021 01:49:31 +0100 Subject: [PATCH] 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. --- src/joystick/SDL_joystick.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c index ab62d7640..1a69c0bff 100644 --- a/src/joystick/SDL_joystick.c +++ b/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;