From a43d3f6931f29174aab3bf046b7a00fc7ce6552d Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 20 Oct 2021 15:19:22 -0700
Subject: [PATCH] Don't detect the ROG Chakram mouse as a joystick
---
src/joystick/SDL_joystick.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c
index 5c8f6e166a..4db9b2a8c2 100644
--- a/src/joystick/SDL_joystick.c
+++ b/src/joystick/SDL_joystick.c
@@ -2398,6 +2398,8 @@ SDL_bool SDL_ShouldIgnoreJoystick(const char *name, SDL_JoystickGUID guid)
/* Anne Pro II Keyboard */
MAKE_VIDPID(0x04d9, 0x8009), /* OBINLB USB-HID Keyboard */
+
+ MAKE_VIDPID(0x0b05, 0x1958), /* ROG Chakram Mouse */
};
unsigned int i;