SDL/src
Ryan C. Gordon 5d7562c7e2 Mac OS X: Look for joystick hotplug in its own CFRunLoop.
This allows the joystick hotplug to function without the main event loop
 (specifically: without SDL_INIT_VIDEO), and moves explicit polling for
 joysticks where it belongs at the low-level: in SDL_SYS_JoystickDetect().

This lets apps call SDL_JoystickUpdate() to get hotplug events and keep
 SDL_NumJoysticks() correct, as expected. As SDL_PumpEvents() (and
 SDL_PollEvents, etc) calls SDL_JoystickUpdate(), existing apps will function
 as before.

Thanks to "raskie" on the forums for pointing this out!
2014-04-24 23:24:48 -04:00
..
atomic Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
audio Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
core Fixed cygwin build 2014-04-23 13:54:47 -07:00
cpuinfo Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
dynapi Render: Allow empty cliprect. 2014-04-19 13:15:41 -07:00
events Fixed missing j 2014-04-19 10:17:36 -07:00
file Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
filesystem Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
haptic Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
joystick Mac OS X: Look for joystick hotplug in its own CFRunLoop. 2014-04-24 23:24:48 -04:00
libm Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
loadso Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
main Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
power Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
render Render: Allow empty cliprect. 2014-04-19 13:15:41 -07:00
stdlib Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
test Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
thread Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
timer Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
video Mac: Correct the y-axis position after 870c7d21004b 2014-04-24 21:05:51 -07:00
SDL.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_assert.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_assert_c.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_error.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_error_c.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_hints.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_internal.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_log.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00