mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Simple DirectMedia Layer
https://libsdl.org
Clean up and implement some best practices for event polling and handling: - Ensure that events are still pumped, even if existing events are in the queue, to ensure that the most recent data is always processed. - Handle wl_display_flush returning EAGAIN by trying to poll the socket until it can be written to. - Ensure that events are always pumped on interrupts and broken pipe errors to handle quit events. - Minimize double-pumping of events, since returning a success code from a wait will implicitly pump events again. - Wake to poll when using a DBus IME, but the text input protocol is not enabled, to ensure that text events are delivered. |
||
|---|---|---|
| .github | ||
| android-project | ||
| build-scripts | ||
| cmake | ||
| docs | ||
| examples | ||
| include | ||
| src | ||
| test | ||
| VisualC | ||
| VisualC-GDK | ||
| wayland-protocols | ||
| Xcode | ||
| .clang-format | ||
| .clang-tidy | ||
| .editorconfig | ||
| .gitignore | ||
| .wikiheaders-options | ||
| Android.mk | ||
| BUGS.txt | ||
| CMakeLists.txt | ||
| CREDITS.md | ||
| INSTALL.md | ||
| LICENSE.txt | ||
| README.md | ||
| WhatsNew.txt | ||
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)