Go to file
Frank Praznik e3d44cdd51
wayland: Use raw timestamps to calculate the elapsed repeat time on a key up event
Using processed timestamps can result in anomalies that cause excessive repeat events, and hard caps can cause issues.

In the key event handler, use the raw elapsed time to calculate any remaining repeat events to avoid the artifacts that can result from using processed timestamps.

The Wayland key repeat rate ranges from 0 to 1000 per second, so millisecond resolution doesn't lose any precision.
2025-05-27 10:59:03 -04:00
.github Restore support for the Nokia N-Gage (#12148) 2025-05-22 11:07:22 -07:00
VisualC Add Flydigi VADER 4 Pro HIDAPI support (#12874) 2025-05-22 09:56:17 -07:00
VisualC-GDK Add Flydigi VADER 4 Pro HIDAPI support (#12874) 2025-05-22 09:56:17 -07:00
Xcode Clean up INTERFACE_COMPILE_OPTIONS 2025-05-24 19:13:25 -07:00
android-project use SDL style - else on same line as closing brace 2025-05-20 17:12:01 -07:00
build-scripts docs: fix man page return value section generation 2025-05-20 13:04:45 -04:00
cmake Restore support for the Nokia N-Gage (#12148) 2025-05-22 11:07:22 -07:00
docs README-documentation-rules: Add a note about being UTF-8 only! 2025-05-22 15:41:05 -04:00
examples Restore support for the Nokia N-Gage (#12148) 2025-05-22 11:07:22 -07:00
include Sync SDL3 wiki -> header 2025-05-26 20:22:23 +00:00
src wayland: Use raw timestamps to calculate the elapsed repeat time on a key up event 2025-05-27 10:59:03 -04:00
test Restore support for the Nokia N-Gage (#12148) 2025-05-22 11:07:22 -07:00
wayland-protocols wayland: Add xdg_toplevel v7 edge constraint support 2025-04-13 11:10:49 -04:00
.clang-format
.clang-tidy
.editorconfig
.gitignore
.wikiheaders-options .wikiheaders-options: Removed wikipreamble setting. 2025-01-24 01:53:51 -05:00
Android.mk [SDL3] Adding input and FFB support for Logitech G29(PS3) on hidapi (#11598) 2025-03-17 07:24:39 -07:00
BUGS.txt Added a Discord link to BUGS.txt 2025-01-13 16:42:50 -08:00
CMakeLists.txt Restore support for the Nokia N-Gage (#12148) 2025-05-22 11:07:22 -07:00
CREDITS.md
INSTALL.md Add a link to docs/INTRO-mingw.md 2025-03-06 16:25:17 -08:00
LICENSE.txt
README.md Updating documentation for the 3.2.0 release 2025-01-15 20:38:16 -08:00
WhatsNew.txt Added SDL_HINT_VIDEO_X11_EXTERNAL_WINDOW_INPUT 2025-03-05 09:07:05 -08:00

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)