Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Added SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS to the documentation …
…for the joystick and game controller APIs
  • Loading branch information
slouken committed Jul 3, 2013
1 parent 104a870 commit c30be4d22d6670b03e529ae7b88174696c865659
Showing with 8 additions and 0 deletions.
  1. +4 −0 include/SDL_gamecontroller.h
  2. +4 −0 include/SDL_joystick.h
@@ -44,6 +44,10 @@ extern "C" {
* 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
* 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 */
@@ -54,6 +54,10 @@ extern "C" {
* 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
* 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 */

0 comments on commit c30be4d

Please sign in to comment.