From d29bb902f3cf0cb22b4dc313dc1003abfd9fb1be Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 8 Apr 2025 11:07:20 -0700 Subject: [PATCH] Don't treat the Keychron K1 Pro System Control keyboard as a joystick Fixes https://github.com/libsdl-org/SDL/issues/12758 --- 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 afeafd523e..14e2d62fc1 100644 --- a/src/joystick/SDL_joystick.c +++ b/src/joystick/SDL_joystick.c @@ -443,6 +443,7 @@ static Uint32 initial_blacklist_devices[] = { MAKE_VIDPID(0x1532, 0x0282), // Razer Huntsman Mini Analog, non-functional DInput device MAKE_VIDPID(0x26ce, 0x01a2), // ASRock LED Controller MAKE_VIDPID(0x20d6, 0x0002), // PowerA Enhanced Wireless Controller for Nintendo Switch (charging port only) + MAKE_VIDPID(0x3434, 0x0211), // Keychron K1 Pro System Control }; static SDL_vidpid_list blacklist_devices = { SDL_HINT_JOYSTICK_BLACKLIST_DEVICES, 0, 0, NULL,