Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Updated SDL_HINT_GAMECONTROLLERCONFIG documentation to reflect that i…
Browse files Browse the repository at this point in the history
…t only takes effect before init.
  • Loading branch information
slouken committed Mar 9, 2013
1 parent 9768ab7 commit 58c8da1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions include/SDL_hints.h
Expand Up @@ -205,13 +205,14 @@ extern "C" {
*/
#define SD_HINT_XINPUT_ENABLED "SDL_XINPUT_ENABLED"


/**
* \brief A variable that lets you manually hint extra gamecontroller db entries
*
* The variable expected newline delimited rows of gamecontroller config data, see SDL_gamecontroller.h
*
* The variable should be newline delimited rows of gamecontroller config data, see SDL_gamecontroller.h
*
* This hint must be set before calling SDL_Init(SDL_INIT_GAMECONTROLLER)
* You can update hints after the system is initialized with SDL_GameControllerAddMapping()
* You can update mappings after the system is initialized with SDL_GameControllerMappingForGUID() and SDL_GameControllerAddMapping()
*/
#define SDL_HINT_GAMECONTROLLERCONFIG "SDL_GAMECONTROLLERCONFIG"

Expand Down

0 comments on commit 58c8da1

Please sign in to comment.