We still accept patches and bug reports for SDL2, and will provide help where possible, but focus has shifted to SDL3 at this point. The rest of this document might still be useful if you're staying on SDL2, though.
Although there is some overlap between SDL version 1.2 and 2.0, the information in this wiki is specifically for SDL version 2.0. SDL 1.2 is deprecated and not recommended for new projects.
For help switching over from version 1.2 to 2.0 check out this Migration Guide.
Once you're using version 2.0 of the Simple DirectMedia Layer (SDL) API, there are a number of sources for basic information. Here are a few:
Congratulations! You already found this one. Perhaps start at the front page for tips on where to go next.
The SDL 2.0 header files can be found here:
https://github.com/libsdl-org/SDL/blob/SDL2/include
https://wiki.libsdl.org/Articles
SDL is a community-supported library. Here are a few options if you need assistance:
https://wiki.libsdl.org/Tutorials
There is a link to SDL 1.2 tutorials here as well.
https://wiki.libsdl.org/SDL2/FAQs