From 26706319d7e5cab81b961919d51271570934e28b Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 30 Oct 2021 05:53:12 -0700
Subject: [PATCH] Ignore the ASRock LED controller, it's not a joystick
---
src/joystick/SDL_joystick.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c
index 4db9b2a8c2..bbb2237285 100644
--- a/src/joystick/SDL_joystick.c
+++ b/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;