include/SDL_gamecontroller.h
changeset 9225 5b97e1f05e53
parent 8149 681eb46b8ac4
equal deleted inserted replaced
9224:bc074eca6597 9225:5b97e1f05e53
    41 
    41 
    42 /**
    42 /**
    43  *  \file SDL_gamecontroller.h
    43  *  \file SDL_gamecontroller.h
    44  *
    44  *
    45  *  In order to use these functions, SDL_Init() must have been called
    45  *  In order to use these functions, SDL_Init() must have been called
    46  *  with the ::SDL_INIT_JOYSTICK flag.  This causes SDL to scan the system
    46  *  with the ::SDL_INIT_GAMECONTROLLER flag.  This causes SDL to scan the system
    47  *  for game controllers, and load appropriate drivers.
    47  *  for game controllers, and load appropriate drivers.
    48  *
    48  *
    49  *  If you would like to receive controller updates while the application
    49  *  If you would like to receive controller updates while the application
    50  *  is in the background, you should set the following hint before calling
    50  *  is in the background, you should set the following hint before calling
    51  *  SDL_Init(): SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
    51  *  SDL_Init(): SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS