SDL-mirror/src/joystick
Jørgen P. Tjernø e1e1fa3d61 Joystick: Only send joy events when focused.
This changes makes it so that you only receive joystick (and implicitly
gamecontroller) input events when your application has keyboard focus.
If you'd like to still receive events when your application is in the
background, set the SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS hint to "1".

This fixes http://bugzilla.libsdl.org/show_bug.cgi?id=1892
2013-06-05 15:11:38 -07:00
..
android File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
beos File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
bsd File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
darwin File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
dummy File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
iphoneos File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
linux File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
psp File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
windows Hopefully fixed mingw32 build 2013-06-02 08:48:52 -07:00
SDL_gamecontroller.c Mac: Fix invalid PS3 controller mapping. 2013-06-05 12:48:44 -07:00
SDL_joystick.c Joystick: Only send joy events when focused. 2013-06-05 15:11:38 -07:00
SDL_joystick_c.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_sysjoystick.h Fixed the joystick id usage in the joystick and game controller events. 2013-03-02 17:51:32 -08:00