Simple DirectMedia Layer https://libsdl.org
Find a file
Tyson Whitehead 391b8c0c07 Avoid opening non-joystick devices if possible to speedup scanning
Closing a device file takes 0.01 to 0.5s, which can add up to
significant startup delays. The udev classification does not
require opening the actual device files, so, use it if possible,
and only fall back to opening the device and probing otherwise.

(cherry picked from commit 45b804c158)
2024-04-25 08:49:48 -07:00
.github Add testautomation to android artifacts 2024-04-15 11:47:18 -10:00
android-project Updated to version 3.1.1 for the preview release 2024-04-01 17:03:46 -07:00
build-scripts wikiheaders: Defines directly following a non-struct typedef are documented. 2024-04-25 03:02:27 -04:00
cmake pipewire: Raise minimum build version to 0.3.44 2024-04-19 12:34:22 -04:00
docs docs: Remove README-hg.md 2024-04-23 15:48:29 -04:00
include wikiheaders: Defines directly following a non-struct typedef are documented. 2024-04-25 03:02:27 -04:00
mingw/pkg-support mingw: add pkg-support files (INSTALL.txt and Makefile) 2024-03-23 21:41:20 +01:00
src Avoid opening non-joystick devices if possible to speedup scanning 2024-04-25 08:49:48 -07:00
test tests: Clean up the renderer in the video test suite since it isn't automatic anymore. 2024-04-19 12:23:40 -04:00
VisualC include: Removed SDL_quit.h 2024-04-15 11:35:39 -04:00
VisualC-GDK include: Removed SDL_quit.h 2024-04-15 11:35:39 -04:00
VisualC-WinRT include: Removed SDL_quit.h 2024-04-15 11:35:39 -04:00
wayland-protocols wayland: Update tablet-v2 protocol file to stable version 2024-04-11 18:34:02 -04:00
Xcode Rewrote audio resampler using cubic filter interpolation 2024-04-15 11:47:18 -10:00
.clang-format Add 'wl_list_for_each_safe' to the clang-format macro list 2024-03-14 10:22:23 -04:00
.clang-tidy Fix size of memcpy in SDL_AudioDeviceFormatChangedAlreadyLocked 2023-08-05 14:14:45 -04:00
.editorconfig Fixed formatting for Haiku cc files 2023-01-25 03:03:41 -08:00
.gitignore GDK: Remove old shader sources, unify shader compilation .bats 2024-03-02 10:30:29 -08:00
.wikiheaders-options wikiheaders-options: Clean up header file info a bit more. 2024-04-22 23:54:40 -04:00
Android.mk Add time and realtime clock functions 2024-03-19 10:57:36 -07:00
BUGS.txt Cleaned up a few more Bugzilla mentions. 2021-02-12 14:46:49 -05:00
CMakeLists.txt cmake: pass macho version information separately from so version 2024-04-15 18:36:27 +00:00
CREDITS.md docs: Moved CREDITS and INSTALL to markdown format. 2023-11-29 12:31:27 -05:00
INSTALL.md Updated INSTALL.md 2024-04-10 09:18:42 -04:00
LICENSE.txt Updated copyright for 2024 2024-01-01 13:15:26 -08:00
README-SDL.txt More HTTPS changes in the documentation. 2017-02-16 16:52:03 -05:00
README.md Tweaking documentation for the SDL 3.0 preview release 2024-03-24 06:16:02 -07:00
WhatsNew.txt Tweaking documentation for the SDL 3.0 preview release 2024-03-24 06:16:02 -07:00

Simple DirectMedia Layer (SDL) Version 3.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. 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. If you are migrating to SDL 3.0 from SDL 2.0, the changes are extensively documented in README-migration.md.

Enjoy!

Sam Lantinga (slouken@libsdl.org)