close method

void close()

Close a gamepad previously opened with SDL_OpenGamepad().

\param gamepad a gamepad identifier previously returned by SDL_OpenGamepad().

\since This function is available since SDL 3.1.3.

\sa SDL_OpenGamepad

extern SDL_DECLSPEC void SDLCALL SDL_CloseGamepad(SDL_Gamepad *gamepad)

Implementation

void close() {
  sdlCloseGamepad(this);
}