You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sdl/docs
M. P. Halpin 6c10446a6c Add version info when building CI/CD for apple platforms 2 months ago
..
README-android.md Add parametrized build script 2 months ago
README-cmake.md Add version info when building CI/CD for apple platforms 2 months ago
README-contributing.md Document the SDL-specific custom ci commands 4 months ago
README-documentation-rules.md SDL_platform_defines.h: Added documentation, and a little whitespace. 4 months ago
README-dynapi.md Removed SDL_bool in favor of plain bool 3 months ago
README-emscripten.md docs: Updated README-emscripten.md. 2 months ago
README-gdk.md Rename functions in SDL_system.h to match SDL 3.0 naming convention 5 months ago
README-git.md docs: document copying shared SDL3 a bit more + document sanitizer/libc incompatibility 2 months ago
README-highdpi.md Sync SDL3 wiki -> header 3 months ago
README-ios.md README-ios.md: Add info about UIApplicationSupportsIndirectInputEvents on iOS 17 2 months ago
README-kmsbsd.md docs: Convert everything to Unix-style endlines. 1 year ago
README-linux.md Update README-linux.md for openSUSE Tumbleweed dependencies 2 months ago
README-macos.md Add version info when building CI/CD for apple platforms 2 months ago
README-main-functions.md main: SDL_AppQuit() now reports the result value. 3 months ago
README-migration.md video: Change SDL_GLattr to SDL_GLAttr. 2 months ago
README-n3ds.md docs: Convert everything to Unix-style endlines. 1 year ago
README-ngage.md docs: Convert everything to Unix-style endlines. 1 year ago
README-platforms.md docs: Convert everything to Unix-style endlines. 1 year ago
README-porting.md winrt: Removed WinRT/Windows Phone/UWP support. 4 months ago
README-ps2.md JANITORIAL: Fix typos in comments in various files (#10058) 6 months ago
README-psp.md docs: Convert everything to Unix-style endlines. 1 year ago
README-raspberrypi.md docs: Convert everything to Unix-style endlines. 1 year ago
README-riscos.md docs: Convert everything to Unix-style endlines. 1 year ago
README-strings.md Removed temporary memory from the API 5 months ago
README-touch.md touch: Replace GetNumTouchDevices/GetTouchDevice with a single function. 1 year ago
README-versions.md docs: Convert everything to Unix-style endlines. 1 year ago
README-visualc.md Removed SDL_RendererFlags 8 months ago
README-vita.md Added thread-safe environment functions 3 months ago
README-wayland.md examples now using SDL_ALPHA_OPAQUE(_FLOAT) for opaque alpha value 2 months ago
README-windows.md winrt: Removed WinRT/Windows Phone/UWP support. 4 months ago
README.md winrt: Removed WinRT/Windows Phone/UWP support. 4 months ago
doxyfile Don't automatically free temporary memory, let the application call SDL_FreeTemporaryMemory() when it's ready. 5 months ago
release_checklist.md doc: explain build-scripts/create-release.py in the release checklist 2 months ago

README.md

Simple DirectMedia Layer

https://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.

SDL officially supports Windows, macOS, Linux, iOS, and Android. Support for other platforms may be found in the source code.

SDL is written in C, works natively with C++, and there are bindings available for several other languages, including C# and Python.

This library is distributed under the zlib license, which can be found in the file "LICENSE.txt".

Information on building SDL with CMake is available in README-cmake.md

The best way to learn how to use SDL is to check out the header files in the "include" subdirectory and the programs in the "test" subdirectory. The header files and test programs are well commented and always up to date.

Information on reporting bugs and contributing is available in README-contributing.md

More documentation and FAQs are available online at the wiki

If you need help with the library, or just want to discuss SDL related issues, you can join the SDL Discourse, which can be used as a web forum or a mailing list, at your preference.

If you want to report bugs or contribute patches, please submit them to our bug tracker

Enjoy!

Sam Lantinga mailto:slouken@libsdl.org