From 86b7a0642fcd8c3deb39c074cc61e433fbb8061f Mon Sep 17 00:00:00 2001
From: Joshua Ashton <[EMAIL REDACTED]>
Date: Fri, 4 Feb 2022 16:40:05 +0000
Subject: [PATCH] Add additional VID/PIDs for Anne Pro II
This thing changes its VID/PID on firmware revisions...
---
src/joystick/SDL_joystick.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c
index a4eb1053ff2..ebb6cf44820 100644
--- a/src/joystick/SDL_joystick.c
+++ b/src/joystick/SDL_joystick.c
@@ -2439,7 +2439,10 @@ SDL_bool SDL_ShouldIgnoreJoystick(const char *name, SDL_JoystickGUID guid)
/* Additional entries */
/*****************************************************************/
- MAKE_VIDPID(0x04d9, 0x8009), /* OBINLB USB-HID Keyboard */
+ MAKE_VIDPID(0x04d9, 0x8008), /* OBINLB USB-HID Keyboard (Anne Pro II) */
+ MAKE_VIDPID(0x04d9, 0x8009), /* OBINLB USB-HID Keyboard (Anne Pro II) */
+ MAKE_VIDPID(0x04d9, 0xa292), /* OBINLB USB-HID Keyboard (Anne Pro II) */
+ MAKE_VIDPID(0x04d9, 0xa293), /* OBINLB USB-HID Keyboard (Anne Pro II) */
MAKE_VIDPID(0x0b05, 0x1958), /* ROG Chakram Mouse */
MAKE_VIDPID(0x26ce, 0x01a2), /* ASRock LED Controller */
};