Browse Source

Generate the correct name for ASTRO Gaming controllers

Manufacturer "ASTRO Gaming" and product "ASTRO C40" turns into "ASTRO C40"
Sam Lantinga 2 years ago
parent
commit
34f928abb7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/joystick/SDL_joystick.c

+ 1 - 0
src/joystick/SDL_joystick.c

@@ -1863,6 +1863,7 @@ SDL_CreateJoystickName(Uint16 vendor, Uint16 product, const char *vendor_name, c
         const char *prefix;
         const char *replacement;
     } replacements[] = {
+        { "ASTRO Gaming", "ASTRO" },
         { "NVIDIA Corporation ", "" },
         { "Performance Designed Products", "PDP" },
         { "HORI CO.,LTD.", "HORI" },