Close a gamepad previously opened with SDL_OpenGamepad().
Defined in <SDL3/SDL_gamepad.h>
void SDL_CloseGamepad(SDL_Gamepad *gamepad);
SDL_Gamepad * | gamepad | a gamepad identifier previously returned by SDL_OpenGamepad(). |
This function is available since SDL 3.1.3.