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
Vicki Pfau 4037c258a1 testcontroller: Fix crash when unplugging a controller while calibrating gyro 6 hours ago
.github ci: bump macos-13 to macos-14 7 days ago
VisualC Added SDL_RotateSurface() 8 hours ago
VisualC-GDK Added SDL_RotateSurface() 8 hours ago
Xcode Added SDL_RotateSurface() 8 hours ago
android-project Implement SDL_GetPenDeviceType() for Android 1 week ago
build-scripts Replace stb_image_write with miniz for SDL_SavePNG() 2 weeks ago
cmake cmake: fix typo 16 hours ago
docs README-emscripten: Added a note about how the 2D API handles vsync differently. 3 days ago
examples Support resizable windows with most examples 2 weeks ago
include Sync SDL3 wiki -> header 8 hours ago
src Added SDL_RotateSurface() 8 hours ago
test testcontroller: Fix crash when unplugging a controller while calibrating gyro 6 hours ago
wayland-protocols Add SDL Pinch events (#9445) 1 week ago
.clang-format Add 'wl_list_for_each_safe' to the clang-format macro list 2 years ago
.clang-tidy Fix size of memcpy in SDL_AudioDeviceFormatChangedAlreadyLocked 2 years ago
.editorconfig .editorconfig: Remove excess apostrophe at *.cocci 1 year ago
.gitignore Updated .gitignore for png test data 2 weeks ago
.wikiheaders-options wikiheaders: Generate a current list of supported environment variables. 2 months ago
Android.mk android: Remove SDL3-static from Android.mk 1 month ago
BUGS.txt Added a Discord link to BUGS.txt 9 months ago
CMakeLists.txt unix: Add ppoll support 6 days ago
CREDITS.md Updated the credits for SDL 3.0 9 months ago
INSTALL.md Add a link to docs/INTRO-mingw.md 8 months ago
LICENSE.txt Updated copyright for 2025 10 months ago
README.md Updating documentation for the 3.2.0 release 9 months ago
WhatsNew.txt Added SDL_HINT_VIDEO_X11_EXTERNAL_WINDOW_INPUT 8 months ago

README.md

Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.

You can find the latest release and additional information at: https://www.libsdl.org/

Installation instructions and a quick introduction is available in INSTALL.md

This library is distributed under the terms of the zlib license, available in LICENSE.txt.

Enjoy!

Sam Lantinga (slouken@libsdl.org)