Просмотр исходного кода

Replace "8BitDo Tech Ltd" with "8BitDo" in the manufacturer string

Fixes the 8BitDo Micro gamepad so it shows up as "8BitDo Bluetooth Wireless Controller" in keyboard mode over Bluetooth.
Sam Lantinga 6 месяцев назад
Родитель
Сommit
1ddba3ad55
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/SDL_utils.c

+ 1 - 0
src/SDL_utils.c

@@ -420,6 +420,7 @@ char *SDL_CreateDeviceName(Uint16 vendor, Uint16 product, const char *vendor_nam
         const char *prefix;
         const char *replacement;
     } replacements[] = {
+        { "8BitDo Tech Ltd", "8BitDo" },
         { "ASTRO Gaming", "ASTRO" },
         { "Bensussen Deutsch & Associates,Inc.(BDA)", "BDA" },
         { "Guangzhou Chicken Run Network Technology Co., Ltd.", "GameSir" },