Simple Directmedia Layer https://libsdl.org/
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.
 
 
 
 
 
 
Go to file
Sam Lantinga 5d24957039 Updated to version 2.32.10 for release 2 weeks ago
.github CI: add OpenBSD workflow 2 weeks ago
VisualC vc: bump CMake compatibility version of sdl2-config.cmake 9 months ago
VisualC-GDK Updated copyright for 2025 9 months ago
VisualC-WinRT video: move standard c, sse and lsx implementations of yuv2rgb to its own source 2 years ago
Xcode Updated to version 2.32.10 for release 2 weeks ago
Xcode-iOS/Demos Xcode-iOS/Demos/src/fireworks.c: Make rendering CPU efficient 2 months ago
acinclude autotools, libtool, win32: add 'aarch64' support to the file magic test. 1 year ago
android-project Updated to version 2.32.10 for release 2 weeks ago
android-project-ant Added the old ant Android build project structure 8 years ago
build-scripts update config.guess and config.sub from git://git.sv.gnu.org/config.git 3 weeks ago
cmake The posix4 library has been merged into the libc library 6 months ago
docs README-macos: fixed some text. 1 year ago
include Updated to version 2.32.10 for release 2 weeks ago
mingw/pkg-support fix: in sdl2.pc libdir was changed to prefix 7 months ago
src Updated to version 2.32.10 for release 2 weeks ago
test Revert "Support Google Play 16 KB Page Size Requirement (#13470)" 1 month ago
visualtest Remove unneeded semicolon 3 years ago
wayland-protocols wayland: Apply toplevel bounds to windows 8 months ago
.clang-format Commented out syntax that causes Visual Studio 2019 to complain on every edit 3 years ago
.editorconfig editorconfig: remove trailing whitespace in source code 3 years ago
.gitignore Port build-script from SDL3 11 months ago
.wikiheaders-options .wikiheaders-options: Removed wikipreamble setting. 8 months ago
Android.mk Revert "Support Google Play 16 KB Page Size Requirement (#13470)" 1 month ago
BUGS.txt Cleaned up a few more Bugzilla mentions. 5 years ago
CMakeLists.txt Updated to version 2.32.10 for release 2 weeks ago
CREDITS.txt Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
INSTALL.txt INSTALL.txt: Say "macOS" instead of "Mac OS X" in modern times. 4 years ago
LICENSE.txt Updated copyright for 2025 9 months ago
Makefile.in Makefile.in: add VisualC-GDK to SRC_DIST 1 year ago
Makefile.minimal Split up CFLAGS construction so it can be overridden 3 years ago
Makefile.os2 Updated to version 2.32.10 for release 2 weeks ago
Makefile.pandora more fixes to standalone makefiles. 4 years ago
Makefile.w32 Updated to version 2.32.10 for release 2 weeks ago
README-SDL.txt More HTTPS changes in the documentation. 9 years ago
README.md Update and rename README.txt to README.md 5 years ago
SDL2.spec.in license: Fixed references to COPYING.txt that are now LICENSE.txt. 5 years ago
SDL2Config.cmake.in cmake: use FindALSA.cmake to find ALSA library 3 years ago
TODO.txt Fixed up legacy MoinMoin URLs at wiki.libsdl.org 5 years ago
WhatsNew.txt Added the environment variable SDL_LOGGING to control default log output 2 years ago
autogen.sh Simplified autogen.sh, thanks to @smcv for the tip 3 years ago
cmake_uninstall.cmake.in Fixed bug 3867 - Can't find install_manifest.txt when running 'uninstall' target 8 years ago
configure Updated to version 2.32.10 for release 2 weeks ago
configure.ac Updated to version 2.32.10 for release 2 weeks ago
sdl2-config-version.cmake.in Add documentation to autotoo'ls sdl2-config-version.cmake.in 3 years ago
sdl2-config.cmake.in cmake: use genexes for linking against apple frameworks 1 year ago
sdl2-config.in sdl2-config.in: use backtics instead of $() for older shells 1 year ago
sdl2.m4 Typo fix 1 year ago
sdl2.pc.in cmake: use FindALSA.cmake to find ALSA library 3 years ago

README.md

Simple DirectMedia Layer (SDL) Version 2.0

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 via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.

More extensive documentation is available in the docs directory, starting with README.md

Enjoy!

Sam Lantinga (slouken@libsdl.org)