SDL/src/hidapi/windows
Sam Lantinga b2188b325d Fixed HIDAPI controller disconnect reading on multiple threads
If multiple threads are calling SDL_UpdateJoysticks(), then an overlapped read can be initiated on one thread (read_pending set to true) and GetOverlappedResult() called on another thread. This results in ERROR_OPERATION_ABORTED. This is harmless so we shouldn't return an error in this case, we'll just retry the read on the next call.

Fixes https://github.com/libsdl-org/SDL/issues/14033
2025-09-25 10:36:14 -07:00
..
pp_data_dump hidapi: syncing with mainstream: 2023-11-23 11:35:02 +03:00
test hidapi: syncing with mainstream: 2023-11-23 11:35:02 +03:00
CMakeLists.txt
hid.c Fixed HIDAPI controller disconnect reading on multiple threads 2025-09-25 10:36:14 -07:00
hidapi.rc
hidapi.sln
hidapi.vcproj
hidapi.vcxproj
hidapi_cfgmgr32.h Fixed compiling hidapi in SDL build environment 2023-05-26 08:19:04 -07:00
hidapi_descriptor_reconstruct.c Fixed warning C4204: nonstandard extension used: non-constant aggregate initializer when built with Visual Studio 2019 2024-02-07 13:16:35 -08:00
hidapi_descriptor_reconstruct.h windows hidapi: fix header compilation 2024-04-18 09:00:49 -07:00
hidapi_hidclass.h Fixed compiling hidapi in SDL build environment 2023-05-26 08:19:04 -07:00
hidapi_hidpi.h
hidapi_hidsdi.h hidapi/windows: fixed PS4 controllers over Bluetooth on Windows 7 2023-05-26 08:19:04 -07:00
hidapi_winapi.h Fixed parameter documentation mismatch 2023-05-26 08:19:04 -07:00
hidtest.vcproj
hidtest.vcxproj
Makefile-manual
Makefile.am
Makefile.mingw