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 d9fd3ce83c Fixed Visual Studio warning 4459
(cherry picked from commit d135daad5b)
8 months ago
.github CI, macOS: install autoconf. 8 months ago
VisualC cmake: update cmake_minimum_required to avoid deprecated warning 1 year ago
VisualC-GDK Updated copyright for 2023 2 years ago
VisualC-WinRT Move SDL_mslibc.c into the source file list 2 years ago
Xcode Updated to version 2.28.5 for release 1 year ago
Xcode-iOS/Demos Cleanup add brace (#6545) 2 years ago
acinclude autotools: revised and silenced esound detection a bit. 2 years ago
android-project Updated to version 2.28.5 for release 1 year ago
android-project-ant Added the old ant Android build project structure 7 years ago
build-scripts update config.guess and config.sub from mainstream 1 year ago
cmake cmake: add qnx support 1 year ago
docs emscripten: Add JS library dependencies using EM_JS_DEPS macro 1 year ago
include Added SDL_HINT_JOYSTICK_IOKIT and SDL_HINT_JOYSTICK_MFI to control whether the IOKit and GCController drivers should be used for joystick support. 1 year ago
mingw/pkg-support/cmake cmake: else() does not need an argument 2 years ago
src Fixed Visual Studio warning 4459 8 months ago
test Added support for "%[]" sscanf syntax 1 year ago
visualtest Remove unneeded semicolon 2 years ago
wayland-protocols Support wayland fractional scale protocol 2 years ago
.clang-format Commented out syntax that causes Visual Studio 2019 to complain on every edit 2 years ago
.editorconfig editorconfig: remove trailing whitespace in source code 2 years ago
.gitignore cmake: use FindALSA.cmake to find ALSA library 2 years ago
.wikiheaders-options wikiheaders: Bridge README files in the docs directory to wiki. 2 years ago
Android.mk Fixed building with the 16.1.4479499 Android toolchain 2 years ago
BUGS.txt Cleaned up a few more Bugzilla mentions. 4 years ago
CMakeLists.txt Revert "cmake: fold HAVE_INPUT_EVENTS into HAVE_LINUX_INPUT_H" 1 year 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. 3 years ago
LICENSE.txt Updated copyright for 2023 2 years ago
Makefile.in added missing FGREP to Makefile.in. fixed syntax. regenerated configure. 2 years ago
Makefile.minimal Split up CFLAGS construction so it can be overridden 2 years ago
Makefile.os2 Updated to version 2.28.5 for release 1 year ago
Makefile.pandora more fixes to standalone makefiles. 3 years ago
Makefile.w32 Updated to version 2.28.5 for release 1 year ago
README-SDL.txt More HTTPS changes in the documentation. 8 years ago
README.md Update and rename README.txt to README.md 4 years ago
SDL2.spec.in license: Fixed references to COPYING.txt that are now LICENSE.txt. 4 years ago
SDL2Config.cmake.in cmake: use FindALSA.cmake to find ALSA library 2 years ago
TODO.txt Fixed up legacy MoinMoin URLs at wiki.libsdl.org 4 years ago
WhatsNew.txt Added the hint SDL_HINT_JOYSTICK_WGI to control whether to use Windows.Gaming.Input for controllers 1 year 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 7 years ago
configure Revert "configure: move HAVE_LINUX_INPUT_H to CheckInputEvents()" 1 year ago
configure.ac Revert "configure: move HAVE_LINUX_INPUT_H to CheckInputEvents()" 1 year ago
sdl2-config-version.cmake.in Add documentation to autotoo'ls sdl2-config-version.cmake.in 3 years ago
sdl2-config.cmake.in cmake: allow users of sdl2-config.cmake to not add -mwindows to the link options 2 years ago
sdl2-config.in Revert "sdl2-config.in: Deprecate sdl2-config" 2 years ago
sdl2.m4 Revert "sdl2.m4: Deprecate AM_PATH_SDL2 in favour of PKG_CHECK_MODULES" 2 years ago
sdl2.pc.in cmake: use FindALSA.cmake to find ALSA library 2 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)