Generate the correct name for ASTRO Gaming controllers

Manufacturer "ASTRO Gaming" and product "ASTRO C40" turns into "ASTRO C40"
main
Sam Lantinga 2022-09-23 09:26:18 -07:00
parent 6ddef7c234
commit 34f928abb7
1 changed files with 1 additions and 0 deletions

View File

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