Deinitialize the ControllerImage library.
Defined in <controllerimage.h>
void ControllerImage_Quit(void);This must be called when done with the library, probably at the end of your program.
It is safe to call this multiple times; the library will only deinitialize once, when this function is called the same number of times as ControllerImage_Init() was successfully called.
Once you have successfully deinitialized the library, it is safe to call ControllerImage_Init() to reinitialize it for further use.
Any data added to the library through ControllerImage_AddData() and related functions will be deallocated.
This function does not automatically destroy any created ControllerImage_Device objects that have been created. Please destroy them before deinitializing the library. SDL_Surface objects generated by the library are also not destroyed here.
Once the library deinitializes, constant strings returned by various functions, like ControllerImage_GetDeviceType(), ControllerImage_GetSVGForButton(), and ControllerImage_GetSVGForAxis(), will be deallocated, and their pointers should not be referenced again.
This function is not thread safe.
This function is available since ControllerImage 1.0.0.