Added SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS to the documentation for the joystick and game controller APIs
This commit is contained in:
parent
60315067e3
commit
197f525783
2 changed files with 8 additions and 0 deletions
|
@ -44,6 +44,10 @@ extern "C" {
|
||||||
* In order to use these functions, SDL_Init() must have been called
|
* In order to use these functions, SDL_Init() must have been called
|
||||||
* with the ::SDL_INIT_JOYSTICK flag. This causes SDL to scan the system
|
* with the ::SDL_INIT_JOYSTICK flag. This causes SDL to scan the system
|
||||||
* for game controllers, and load appropriate drivers.
|
* for game controllers, and load appropriate drivers.
|
||||||
|
*
|
||||||
|
* If you would like to receive controller updates while the application
|
||||||
|
* is in the background, you should set the following hint before calling
|
||||||
|
* SDL_Init(): SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* The gamecontroller structure used to identify an SDL game controller */
|
/* The gamecontroller structure used to identify an SDL game controller */
|
||||||
|
|
|
@ -54,6 +54,10 @@ extern "C" {
|
||||||
* In order to use these functions, SDL_Init() must have been called
|
* In order to use these functions, SDL_Init() must have been called
|
||||||
* with the ::SDL_INIT_JOYSTICK flag. This causes SDL to scan the system
|
* with the ::SDL_INIT_JOYSTICK flag. This causes SDL to scan the system
|
||||||
* for joysticks, and load appropriate drivers.
|
* for joysticks, and load appropriate drivers.
|
||||||
|
*
|
||||||
|
* If you would like to receive joystick updates while the application
|
||||||
|
* is in the background, you should set the following hint before calling
|
||||||
|
* SDL_Init(): SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* The joystick structure used to identify an SDL joystick */
|
/* The joystick structure used to identify an SDL joystick */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue