Added custom names for some controllers
This commit is contained in:
parent
becf554a56
commit
56c692238c
8 changed files with 533 additions and 481 deletions
|
@ -1164,6 +1164,12 @@ void SDL_GetJoystickGUIDInfo(SDL_JoystickGUID guid, Uint16 *vendor, Uint16 *prod
|
|||
}
|
||||
}
|
||||
|
||||
const char *
|
||||
SDL_GetCustomJoystickName(Uint16 vendor, Uint16 product)
|
||||
{
|
||||
return GuessControllerName(vendor, product);
|
||||
}
|
||||
|
||||
SDL_bool
|
||||
SDL_IsJoystickNintendoSwitchPro(Uint16 vendor, Uint16 product)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue