Added SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS to the documentation for the joystick and game controller APIs
authorSam Lantinga <slouken@libsdl.org>
Wed, 03 Jul 2013 12:31:40 -0700
changeset 7341675c85d46f30
parent 7340 72134ccb9502
child 7342 4828e86c6010
Added SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS to the documentation for the joystick and game controller APIs
include/SDL_gamecontroller.h
include/SDL_joystick.h
     1.1 --- a/include/SDL_gamecontroller.h	Tue Jun 04 12:02:18 2013 -0400
     1.2 +++ b/include/SDL_gamecontroller.h	Wed Jul 03 12:31:40 2013 -0700
     1.3 @@ -44,6 +44,10 @@
     1.4   *  In order to use these functions, SDL_Init() must have been called
     1.5   *  with the ::SDL_INIT_JOYSTICK flag.  This causes SDL to scan the system
     1.6   *  for game controllers, and load appropriate drivers.
     1.7 + *
     1.8 + *  If you would like to receive controller updates while the application
     1.9 + *  is in the background, you should set the following hint before calling
    1.10 + *  SDL_Init(): SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
    1.11   */
    1.12  
    1.13  /* The gamecontroller structure used to identify an SDL game controller */
     2.1 --- a/include/SDL_joystick.h	Tue Jun 04 12:02:18 2013 -0400
     2.2 +++ b/include/SDL_joystick.h	Wed Jul 03 12:31:40 2013 -0700
     2.3 @@ -54,6 +54,10 @@
     2.4   *  In order to use these functions, SDL_Init() must have been called
     2.5   *  with the ::SDL_INIT_JOYSTICK flag.  This causes SDL to scan the system
     2.6   *  for joysticks, and load appropriate drivers.
     2.7 + *
     2.8 + *  If you would like to receive joystick updates while the application
     2.9 + *  is in the background, you should set the following hint before calling
    2.10 + *  SDL_Init(): SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
    2.11   */
    2.12  
    2.13  /* The joystick structure used to identify an SDL joystick */