include/SDL_gamecontroller.h
changeset 7341 675c85d46f30
parent 7191 75360622e65f
child 8042 7863121cb7d5
equal deleted inserted replaced
7340:72134ccb9502 7341:675c85d46f30
    42  *  \file SDL_gamecontroller.h
    42  *  \file SDL_gamecontroller.h
    43  *
    43  *
    44  *  In order to use these functions, SDL_Init() must have been called
    44  *  In order to use these functions, SDL_Init() must have been called
    45  *  with the ::SDL_INIT_JOYSTICK flag.  This causes SDL to scan the system
    45  *  with the ::SDL_INIT_JOYSTICK flag.  This causes SDL to scan the system
    46  *  for game controllers, and load appropriate drivers.
    46  *  for game controllers, and load appropriate drivers.
       
    47  *
       
    48  *  If you would like to receive controller updates while the application
       
    49  *  is in the background, you should set the following hint before calling
       
    50  *  SDL_Init(): SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
    47  */
    51  */
    48 
    52 
    49 /* The gamecontroller structure used to identify an SDL game controller */
    53 /* The gamecontroller structure used to identify an SDL game controller */
    50 struct _SDL_GameController;
    54 struct _SDL_GameController;
    51 typedef struct _SDL_GameController SDL_GameController;
    55 typedef struct _SDL_GameController SDL_GameController;