/* Return 1 if the joystick at this device index is a supported controller  */
SDL_bool SDL_IsGameController(int device_index)
/* Return 1 if the joystick at this device index is a supported controller  */
SDL_bool SDL_IsGameController(int device_index)
{
    ControllerMapping_t *pSupportedController = SDL_PrivateGetControllerMapping(device_index);
    if (pSupportedController) {
        return SDL_TRUE;
    }
    return SDL_FALSE;
}