SDL/src
Cameron Gutman f21e172767 Use IOHIDManagerRegisterDeviceRemovalCallback() to monitor for HID removal
The function we currently use, IOHIDDeviceRegisterRemovalCallback(), often
fails on Catalina with a "__CFRunLoopModeFindSourceForMachPort returned NULL"
error message. Once a removal callback is missed, we will eventually crash when
the joystick is closed attempting to use the invalid IOHIDDeviceRef.

https://forums.developer.apple.com/thread/124444
2019-12-20 22:25:49 -08:00
..
atomic atomic: Support compiling on ARMv3 2019-10-11 22:08:53 +01:00
audio pulseaudio: don't let FlushCapture get stuck in an infinite loop on shutdown. 2019-12-03 03:53:06 -05:00
core Android: same way as in nativePause(), resume events are sent from SDL thread 2019-12-21 22:40:33 +01:00
cpuinfo Fixed unused function warning on Android 2019-11-18 10:48:14 -08:00
dynapi Fixed bug 4914 - Expose SDL_ScaleMode and add SDL_SetTextureScaleMode/SDL_GetTextureScaleMode 2019-12-22 13:39:44 -08:00
events Fixed bug 4814 - Missing scancodes on Linux 2019-11-16 22:45:49 -08:00
file Readability: remove redundant cast to the same type 2019-10-30 15:13:55 +01:00
filesystem Readability: remove redundant cast to the same type 2019-10-30 15:13:55 +01:00
haptic Updated copyright for 2019 2019-01-04 22:01:14 -08:00
hidapi Use IOHIDManagerRegisterDeviceRemovalCallback() to monitor for HID removal 2019-12-20 22:25:49 -08:00
joystick Fix shutting down HIDAPI device with multiple joysticks 2019-12-22 13:15:11 -08:00
libm Readability: change some pointer parameter to be pointer to const 2019-10-30 16:06:51 +01:00
loadso Readability: remove redundant cast 2019-10-30 16:20:58 +01:00
main haiku: mouse_relative fix 2019-11-11 22:23:33 -05:00
power SDL_syspower.c: remove redundant expression 2019-10-30 16:12:39 +01:00
render Fixed bug 4914 - Expose SDL_ScaleMode and add SDL_SetTextureScaleMode/SDL_GetTextureScaleMode 2019-12-22 13:39:44 -08:00
sensor Fixed bug 4837 - Use after free in SDL_SensorUpdate (Thanks!) 2019-10-23 08:46:59 +02:00
stdlib Improved XInput VID/PID detection and added SDL_wcsstr() and SDL_wcsncmp() 2019-11-20 16:42:50 -08:00
test Added SDL_PIXELFORMAT_BGR444 2019-11-02 22:58:52 +00:00
thread Remove redundant 'SDL_GetErrBuf' declaration 2019-10-30 17:35:40 +01:00
timer Updated copyright for 2019 2019-01-04 22:01:14 -08:00
video Fixed bug 4914 - Expose SDL_ScaleMode and add SDL_SetTextureScaleMode/SDL_GetTextureScaleMode 2019-12-22 13:39:44 -08:00
SDL.c SDL.c (SDL_ExitProcess): unconstify its param to match its declaration. 2019-11-20 02:47:40 +03:00
SDL_assert.c Readability: remove const-qualifation from function declaration 2019-10-30 15:43:49 +01:00
SDL_assert_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_dataqueue.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_dataqueue.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_error.c Remove redundant 'SDL_GetErrBuf' declaration 2019-10-30 17:35:40 +01:00
SDL_error_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_hints.c Fix missing prototype warning 2019-11-16 22:59:56 +01:00
SDL_hints_c.h Added a utility function to simplify the hint handling logic 2019-11-13 21:53:01 -08:00
SDL_internal.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_log.c Copypaste SDL_NSLog to UIKit backend, document it as such 2019-07-17 23:20:57 -04:00