Source/ThirdParty/SDL/src/joystick/SDL_gamecontroller.c
/*
 * Get the implementation dependent name of a controller
 */
Get the implementation dependent name of a controller
Get the implementation dependent name of a controller
const char *
SDL_GameControllerNameForIndex(int device_index)
{
    ControllerMapping_t *pSupportedController =  SDL_PrivateGetControllerMapping(device_index);
    if (pSupportedController) {
        return pSupportedController->name;
    }
    return NULL;
}
const char * SDL_GameControllerNameForIndex ( int device_index ) { ControllerMapping_t * pSupportedController = SDL_PrivateGetControllerMapping ( device_index ) ; if ( pSupportedController ) { return pSupportedController -> name ; } return NULL ; }
Get the implementation dependent name of a controller
Get the implementation dependent name of a controller