SDL/src
Sam Lantinga ece8a7bb8e Hold the joystick lock while opening the HID device on non-Android platforms
On Windows the main thread can be enumerating DirectInput devices while the Windows.Gaming.Input thread is calling back with a new controller available, and in this case HIDAPI_IsDevicePresent() returned false since the controller initialization hadn't completed yet, creating a duplicate controller.

Fixes https://github.com/libsdl-org/SDL/issues/7304
2023-02-16 09:50:04 -08:00
..
atomic Fixed building with Visual Studio 2010 2023-01-09 18:30:23 -08:00
audio Fixed audio 2023-02-11 13:23:08 -08:00
core Fix potential de-referencing null pointer in SDL_EVDEV_kbd_keycode() 2023-02-16 08:22:37 +01:00
cpuinfo Simplify flags testing (#7220) 2023-02-03 13:08:42 -08:00
dynapi gendynapi.py: add option to check doc formating (eg \param \returns \since) 2023-02-12 20:43:30 +01:00
events Fixed bug #7302 - Memory 'leak' in SDL_SetMouseSystemScale() 2023-02-13 09:42:12 +01:00
file Handle new SDL_rwops error codes in SDL_LoadFile_RW() 2023-01-12 06:53:07 -08:00
filesystem Updated copyright for 2023 2023-01-09 09:41:41 -08:00
haptic Return the SDL_SetError value 2023-02-06 11:42:38 +01:00
hidapi Fixed MFI controller being opened while HIDAPI controller was being opened 2023-02-09 12:07:11 -08:00
joystick Hold the joystick lock while opening the HID device on non-Android platforms 2023-02-16 09:50:04 -08:00
libm Updated copyright for 2023 2023-01-09 09:41:41 -08:00
loadso Functions which return function pointers now return SDL_FunctionPointer instead of void* 2023-01-09 15:46:21 -08:00
locale Change return type from void to int, for functions that set an error 2023-02-07 13:51:45 -08:00
main/winrt Remove SDL3_main from build systems, remove most of src/main/* 2022-12-15 08:01:01 -08:00
misc Addressed comments 2023-01-10 06:19:40 -08:00
power Updated copyright for 2023 2023-01-09 09:41:41 -08:00
render SDL_UnlockTexture: change from 'int' to 'void' 2023-02-09 20:17:27 +01:00
sensor Make sure count is 0 in out of memory conditions 2023-01-31 10:04:51 -08:00
stdlib Simplify flags testing (#7220) 2023-02-03 13:08:42 -08:00
test Removed SDL_GetDisplayDPI() 2023-02-08 17:35:54 -08:00
thread Remove some vim config lines 2023-02-10 11:00:48 +01:00
timer Remove some vim config lines 2023-02-10 11:00:48 +01:00
video video: Select the closest mode for the target refresh rate accounting for small variations 2023-02-15 10:07:46 -05:00
SDL.c Add error returns to void functions that can fail/set errors. 2023-02-09 07:23:21 -08:00
SDL_assert.c Only minimize the window for an assert if it's in exclusive fullscreen mode 2023-02-01 12:05:25 -08:00
SDL_assert_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_dataqueue.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_dataqueue.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_error.c Remove disabled self test main functions in src/SDL_error.c 2023-02-01 20:14:48 +01:00
SDL_error_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_guid.c Add error returns to void functions that can fail/set errors. 2023-02-09 07:23:21 -08:00
SDL_hints.c SDL_AddHintCallback() now returns a standard int result instead of void 2023-01-09 12:09:30 -08:00
SDL_hints_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_internal.h Moved SDL_intrin.h back into the public headers for application use 2023-01-10 15:50:35 -08:00
SDL_list.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_list.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_log.c Set the default priority level of SDL_LOG_CATEGORY_ERROR to SDL_LOG_PRIORITY_ERROR 2023-01-19 08:04:40 -08:00
SDL_log_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_utils.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_utils_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00