SDL/src
Frank Praznik 31267feb03
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.

(cherry picked from commit e3d44cdd51)
2025-05-27 11:18:56 -04:00
..
atomic
audio emscripten: Proxy Emscripten_GetSystemTheme and EMSCRIPTENAUDIO_OpenDevice to the main thread. 2025-05-25 13:50:19 -07:00
camera pipewire: Don't require pw_check_library_version() with Pipewire < 0.3.75 2025-03-03 07:32:51 -08:00
core get preferred locales on android 2025-05-20 17:13:47 -07:00
cpuinfo Define illegal_instruction() when it will be actually used 2025-05-08 12:50:08 -07:00
dialog fix error handling in WideCharToMultiByte 2025-05-22 15:25:58 -07:00
dynapi dynapi: Don't use SDL_getenv; it might malloc before the app sets an allocator. 2025-02-06 12:46:15 -05:00
events Fixed rare crash trying to interrupt SDL_WaitEvent() 2025-05-19 14:16:25 -07:00
filesystem Match style 2025-02-27 07:10:09 -08:00
gpu gpu/d3d12: Acknowledge that we've bound vertex buffers (#13088) 2025-05-20 16:34:27 -04:00
haptic Add SDL_HINT_JOYSTICK_HAPTIC_AXES 2025-02-24 15:12:04 -08:00
hidapi Add hid_version and hid_version_str to renamed LIBUSB impl symbols 2025-05-10 07:45:37 -07:00
io asyncio: SDL_LoadFileAsync was not null-terminating the file data. 2025-03-20 16:30:04 -07:00
joystick Set the initial axis values for HIDAPI and XInput controllers 2025-05-23 12:09:58 -07:00
libm
loadso
locale
main
misc Bumped deployment requirements for Apple platforms 2025-01-14 12:03:07 -08:00
power
process Fixed process I/O redirection to NUL on Windows 2025-04-11 15:45:33 -07:00
render Fix wrong callback type 2025-05-20 11:11:01 -07:00
sensor Remove newlines from log messages 2025-01-22 20:25:04 -08:00
stdlib Initialize the padding of aligned allocations to zero 2025-03-12 11:43:09 -07:00
storage storage: enumerate and glob on storage can accept a NULL path. 2025-01-17 20:11:50 -05:00
test Removed help for obsolete (and removed) command line option 2025-03-12 12:38:52 -07:00
thread Fix n3ds/SDL_syssem.c:SDL_SignalSemaphore (libsdl-org/SDL#12411) 2025-03-07 17:32:05 -08:00
time time: Fix compilation on Solaris 2025-03-19 12:27:39 -04:00
timer timer, windows: allow building high resolution code with old SDKs. 2025-02-02 21:23:50 +03:00
tray Fix #13083 segfault in `SDL_RemoveTrayEntry()` for submenu entries 2025-05-21 13:32:47 -07:00
video wayland: Use raw timestamps to calculate the elapsed repeat time on a key up event 2025-05-27 11:18:56 -04:00
SDL.c Save and restore error messages when rolling back after failed init 2025-03-02 07:57:36 -08:00
SDL_assert.c emscripten: Don't use legacy JS library functions for assertions 2025-03-20 16:32:40 -07:00
SDL_assert_c.h
SDL_error.c
SDL_error_c.h Save and restore error messages when rolling back after failed init 2025-03-02 07:57:36 -08:00
SDL_guid.c
SDL_hashtable.c hashtable: Redesign the hashtable API. 2025-02-15 18:52:56 -05:00
SDL_hashtable.h hashtable: Redesign the hashtable API. 2025-02-15 18:52:56 -05:00
SDL_hints.c Added special handling for SDL_HINT_ANDROID_ALLOW_RECREATE_ACTIVITY 2025-04-03 11:34:03 -07:00
SDL_hints_c.h
SDL_internal.h Disable all camera drivers if SDL_CAMERA_DISABLED is defined 2025-02-22 09:48:49 -08:00
SDL_list.c
SDL_list.h
SDL_log.c
SDL_log_c.h
SDL_properties.c Don't allow further operations on properties while we're destroying them 2025-02-26 08:34:14 -08:00
SDL_properties_c.h
SDL_utils.c Added support for the HORI Taiko No Tatsujin Drum Controller 2025-04-02 08:30:55 -07:00
SDL_utils_c.h Include the VID/PID of generic keyboard/mouse devices on Windows 2025-02-27 14:03:39 -08:00