From 34f928abb77220c51f3100cf4539a356de9c9a29 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 23 Sep 2022 09:26:18 -0700
Subject: [PATCH] Generate the correct name for ASTRO Gaming controllers
Manufacturer "ASTRO Gaming" and product "ASTRO C40" turns into "ASTRO C40"
---
src/joystick/SDL_joystick.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c
index 44ab5294f39..8afd772ecba 100644
--- a/src/joystick/SDL_joystick.c
+++ b/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" },