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 8c733d1f7b x11: Better handle XInput2 mouse tracking outside the window
There is a quirk with XInput2 mouse capture that causes a leave event to be sent if the pointer moves out->in->out, which breaks mouse tracking outside the window. If the mouse leaves the window with buttons pressed, continue tracking it until the buttons are released.
11 hours ago
.github Updated to GameInput v1.1 2 weeks ago
VisualC Updated to GameInput v1.1 2 weeks ago
VisualC-GDK GDK: Handle ProjectDir with space 1 day ago
Xcode 8BitDo (#12661) 4 weeks ago
android-project Native functions renamed: {add,remove}AudioDevice to native{Add,Remove}AudioDevice 1 month ago
build-scripts docs: improve man page generation 3 weeks ago
cmake cmake: make SDL_CPU_xxx variable visible when using CMAKE_OSX_ARCHITECTURES 3 weeks ago
docs Sync SDL3 wiki -> header 2 weeks ago
examples audio: SDL_PutAudioStreamPlanarData should take a channel count. 1 day ago
include audio: SDL_PutAudioStreamPlanarData should take a channel count. 1 day ago
src x11: Better handle XInput2 mouse tracking outside the window 11 hours ago
test test/msdf_font.bmp: mark as non-executable. 1 day ago
wayland-protocols wayland: Add xdg_toplevel v7 edge constraint support 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 10 months ago
.gitignore Allow in-tree build 6 months ago
.wikiheaders-options .wikiheaders-options: Removed wikipreamble setting. 3 months ago
Android.mk [SDL3] Adding input and FFB support for Logitech G29(PS3) on hidapi (#11598) 1 month ago
BUGS.txt Added a Discord link to BUGS.txt 3 months ago
CMakeLists.txt cmake: use CMAKE_ANDROID_NDK variable as root of Android ndk 1 day ago
CREDITS.md Updated the credits for SDL 3.0 3 months ago
INSTALL.md Add a link to docs/INTRO-mingw.md 2 months ago
LICENSE.txt Updated copyright for 2025 4 months ago
README.md Updating documentation for the 3.2.0 release 3 months ago
WhatsNew.txt Added SDL_HINT_VIDEO_X11_EXTERNAL_WINDOW_INPUT 2 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)