Pārlūkot izejas kodu

Don't treat the Keychron K1 Pro System Control keyboard as a joystick

Fixes https://github.com/libsdl-org/SDL/issues/12758
Sam Lantinga 1 nedēļu atpakaļ
vecāks
revīzija
d29bb902f3
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      src/joystick/SDL_joystick.c

+ 1 - 0
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,