ext-SDL/src
Cameron Gutman 5ed71f3bc0 Only enumerate HID devices on Windows that have gamepad HID usages
There are a number of poorly behaved HID devices that time out on attempts to
read various strings. Rather than end up on an endless treadmill of blacklisting
broken devices, reduce our risk by only querying devices that are gamepads.
SDL_hidapijoystick.c already checks these same usages, so we shouldn't
exclude any working HID devices (caveat below).

This also makes HidP_GetPreparsedData() and HidP_GetCaps() failure skip
the device entirely, but that seems desired. If a device can't even return basic
top-level collection data properly, we want nothing to do with that broken device.
If we do find devices that work with HIDAPI joystick and fail these calls, we can
add an exception via VID+PID matching.
2020-03-20 13:44:50 -07:00
..
atomic Add basic support for compiling on RISC OS 2020-02-13 20:50:47 +00:00
audio winrt: Wait for EnumerationCompleted before leaving WASAPI_EnumerateEndpoints 2020-03-03 12:31:41 -05:00
core Resolved conflict and added Android_JNI_RequestPermission() 2020-02-13 10:19:05 -08:00
cpuinfo Improved CPU detection on ARM platforms 2020-02-04 16:46:22 +00:00
dynapi virtual joysticks: removed ball support (Bug 5028) 2020-03-15 13:25:49 -04:00
events Fixed warnings building with mingw64 2020-03-08 21:24:06 -07:00
file Fixed compile warning 2020-02-10 13:59:05 -08:00
filesystem Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
haptic Fixed bug 3446 - The haptic API does not allow to select the direction axes 2020-03-17 14:18:05 -07:00
hidapi Only enumerate HID devices on Windows that have gamepad HID usages 2020-03-20 13:44:50 -07:00
joystick Fixed bug 5049 - HORI Wireless Switch Pad does not connect properly via Bluetooth 2020-03-20 20:45:30 -07:00
libm Fixed compiler warning 2020-01-29 20:09:16 -08:00
loadso Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
main Backed out changeset 51622f74dc85 2020-03-10 18:35:31 -07:00
power Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
render Fix warnining implicit declaration of SDL_DetectPalette (Thanks meyraud705) 2020-03-17 15:47:30 +01:00
sensor Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
stdlib Fixed bug 5022 - SDL_iconv_string can get stuck in an infinite loop when encountering invalid characters 2020-03-10 16:29:28 -07:00
test test: Reimplemented SDLTest_CommonUsage() to restore binary compatibility. 2020-02-12 13:09:38 -05:00
thread Fixed bug 4992 - UWP/WinRT does not set thread priority when using SDL_SetThreadPriority 2020-03-01 12:50:42 -08:00
timer Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
video egl: Don't use SDL_LoadFunction to get GL entry points on Emscripten. 2020-03-20 15:13:09 -04:00
SDL_assert_c.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_assert.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_dataqueue.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_dataqueue.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_error_c.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_error.c Added SDL_GetErrorMsg() to get the error message in a thread-safe way 2020-03-13 21:28:09 -07:00
SDL_hints_c.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_hints.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_internal.h SDL_LEAN_AND_MEAN defaults off 2020-01-23 01:03:23 -08:00
SDL_log.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00