MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SDL_GameControllerQuit

Function SDL_GameControllerQuit

deps/SDL2/src/joystick/SDL_gamecontroller.c:1993–2002  ·  view source on GitHub ↗

* Quit the controller subsystem */

Source from the content-addressed store, hash-verified

1991 * Quit the controller subsystem
1992 */
1993void
1994SDL_GameControllerQuit(void)
1995{
1996 SDL_LockJoysticks();
1997 while (SDL_gamecontrollers) {
1998 SDL_gamecontrollers->ref_count = 1;
1999 SDL_GameControllerClose(SDL_gamecontrollers);
2000 }
2001 SDL_UnlockJoysticks();
2002}
2003
2004void
2005SDL_GameControllerQuitMappings(void)

Callers 1

SDL_QuitSubSystemFunction · 0.85

Calls 3

SDL_LockJoysticksFunction · 0.85
SDL_GameControllerCloseFunction · 0.85
SDL_UnlockJoysticksFunction · 0.85

Tested by

no test coverage detected