From 8c82b73027ac00fa8663786b1a568404a06fdfda Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 13 Nov 2023 21:30:57 -0800 Subject: [PATCH] Fixed the ROG PUGIO II showing up as a game controller This mouse actually enumerates as a gamepad with 2 axes, 8 buttons and a hat. We'll ignore it like the other ROG mice, unless someone specifically wants to use it as a gamepad. (cherry picked from commit edd044e90187528656327584b6e2337bbceacd57) --- src/joystick/SDL_joystick.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c index 65f907a73..ceb51d020 100644 --- a/src/joystick/SDL_joystick.c +++ b/src/joystick/SDL_joystick.c @@ -2800,6 +2800,7 @@ SDL_bool SDL_ShouldIgnoreJoystick(const char *name, SDL_JoystickGUID guid) }; static Uint32 rog_chakram_list[] = { + MAKE_VIDPID(0x0b05, 0x1906), /* ROG Pugio II */ MAKE_VIDPID(0x0b05, 0x1958), /* ROG Chakram Core Mouse */ MAKE_VIDPID(0x0b05, 0x18e3), /* ROG Chakram (wired) Mouse */ MAKE_VIDPID(0x0b05, 0x18e5), /* ROG Chakram (wireless) Mouse */