Refactored SDL_CreateJoystickName() into a general SDL_CreateDeviceName()

This commit is contained in:
Sam Lantinga
2025-02-21 08:28:57 -08:00
parent 3293eb1a16
commit 5d776c070a
4 changed files with 237 additions and 267 deletions

View File

@@ -73,4 +73,6 @@ extern void SDL_SetObjectsInvalid(void);
extern const char *SDL_GetPersistentString(const char *string);
extern char *SDL_CreateDeviceName(Uint16 vendor, Uint16 product, const char *vendor_name, const char *product_name);
#endif // SDL_utils_h_