here are two nice docs of the SDL2 API https://wiki.libsdl.org/APIByCategory https://wiki.libsdl.org/CategoryAPI