* Quit the controller subsystem */
| 1991 | * Quit the controller subsystem |
| 1992 | */ |
| 1993 | void |
| 1994 | SDL_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 | |
| 2004 | void |
| 2005 | SDL_GameControllerQuitMappings(void) |
no test coverage detected