Commit a43d3f6931f29174aab3bf046b7a00fc7ce6552d

Sam Lantinga 2021-10-20T15:19:22

Don't detect the ROG Chakram mouse as a joystick

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c
index 5c8f6e1..4db9b2a 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;