SDL/src
Sam Lantinga 2670eb44af Improved timing accuracy of SDL_WaitEventTimeout() on Windows
We don't need to use the hack of setting a timer and waiting for a timer message, MsgWaitForMultipleObjects() will allow us to wait for input directly with a timeout.

Before this change, sleeping for 20 ms would actually sleep for around 30 ms, with this change the sleep time is pretty accurate at 20-21 ms.
2024-01-25 06:30:07 -08:00
..
atomic Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
audio Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
core Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
cpuinfo SDL_cpuinfo.c: adjust for new SDL_PLATFORM_WINDOWS meaning. 2024-01-24 21:20:50 +03:00
dynapi Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
events Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
file Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
filesystem Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
haptic Made SDL_HapticEffect const in the API 2024-01-21 11:29:40 -08:00
hidapi SDL_hidapi.c: adjust for new SDL_PLATFORM_WINDOWS meaning. 2024-01-24 21:20:50 +03:00
joystick mayflash adapter PS4 support 2024-01-24 19:25:35 -08:00
libm Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
loadso Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
locale Updated copyright for 2024 2024-01-01 13:15:26 -08:00
main Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
misc Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
power Updated copyright for 2024 2024-01-01 13:15:26 -08:00
render SDL_render_gl.c: adjust for new SDL_PLATFORM_WINDOWS meaning. 2024-01-24 21:20:50 +03:00
sensor Removed SDL_EVENTS_DISABLED 2024-01-17 09:24:04 -08:00
stdlib Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
test SDL_test_memory.c: adjust for new SDL_PLATFORM_WINDOWS meaning. 2024-01-24 21:20:50 +03:00
thread Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
timer Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
video Improved timing accuracy of SDL_WaitEventTimeout() on Windows 2024-01-25 06:30:07 -08:00
SDL.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
SDL_assert.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
SDL_assert_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_error.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_error_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_guid.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_hashtable.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_hashtable.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_hints.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_hints_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_internal.h Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
SDL_list.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_list.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_log.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
SDL_log_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_properties.c remove several instances of unnecessary emptry str "" after SDL_PRI??? 2024-01-18 17:25:50 +03:00
SDL_properties_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_utils.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_utils_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00