Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Updated SDL_HINT_GAMECONTROLLERCONFIG documentation to reflect that i…

…t only takes effect before init.
  • Loading branch information
slouken committed Mar 9, 2013
1 parent 9768ab7 commit 58c8da1d6d3922ad96ecae67ef0ae6cded38c5f2
Showing with 4 additions and 3 deletions.
  1. +4 −3 include/SDL_hints.h
@@ -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"

0 comments on commit 58c8da1

Please sign in to comment.