Преглед на файлове

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

Fixes https://github.com/libsdl-org/SDL/issues/12758

(cherry picked from commit d29bb902f3cf0cb22b4dc313dc1003abfd9fb1be)
Sam Lantinga преди 1 седмица
родител
ревизия
f102ff16a2
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      src/joystick/SDL_joystick.c

+ 1 - 0
src/joystick/SDL_joystick.c

@@ -277,6 +277,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,