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
Frank Praznik ce9c6e40fd wayland: Refactor keyboard layout handling
Build all the available keyboard layouts at once; this adds a negligible bit of overhead when initially handling the keymap (which was already significantly lowered by previous commits), but reduces the later cost of changing layouts to just swapping a pointer.

Additionally, handling of unknown keysyms, particularly when dealing with virtual keyboards, is improved, as keys generating valid Unicode values with no corresponding scancode will be dynamically added to the keymap with reserved scancodes, allowing for proper round-trip lookup behavior.
13 hours ago
.github ci: build MSVC release binary on windows-2025 1 week ago
VisualC Implement SInput Device Support (#13343) 3 days ago
VisualC-GDK Implement SInput Device Support (#13343) 3 days ago
Xcode Implement SInput Device Support (#13343) 3 days ago
android-project use SDL style - else on same line as closing brace 2 months ago
build-scripts wikiheaders: Let each subproject specify how to find their property symbols. 1 month ago
cmake cmake: Android always needs a native HIDAPI implementation 3 weeks ago
docs README-macos.md: replace old API calls 2 weeks ago
examples Restore support for the Nokia N-Gage (#12148) 2 months ago
include Sync SDL3 wiki -> header 2 days ago
src wayland: Refactor keyboard layout handling 13 hours ago
test testcontroller: reverted GameInput test code 1 day ago
wayland-protocols wayland: Add support for the key repeat event (seat v10) 2 weeks ago
.clang-format Add 'wl_list_for_each_safe' to the clang-format macro list 1 year ago
.clang-tidy Fix size of memcpy in SDL_AudioDeviceFormatChangedAlreadyLocked 2 years ago
.editorconfig .editorconfig: Remove excess apostrophe at *.cocci 1 year ago
.gitignore Allow in-tree build 9 months ago
.wikiheaders-options wikiheaders: Let each subproject specify how to find their property symbols. 1 month ago
Android.mk [SDL3] Adding input and FFB support for Logitech G29(PS3) on hidapi (#11598) 4 months ago
BUGS.txt Added a Discord link to BUGS.txt 6 months ago
CMakeLists.txt cmake: remove /RTC1 from CXX flags when building with SDL_LIBC=OFF 1 week ago
CREDITS.md Updated the credits for SDL 3.0 6 months ago
INSTALL.md Add a link to docs/INTRO-mingw.md 4 months ago
LICENSE.txt Updated copyright for 2025 7 months ago
README.md Updating documentation for the 3.2.0 release 6 months ago
WhatsNew.txt Added SDL_HINT_VIDEO_X11_EXTERNAL_WINDOW_INPUT 5 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)