From 58c8da1d6d3922ad96ecae67ef0ae6cded38c5f2 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 8 Mar 2013 16:27:05 -0800 Subject: [PATCH] Updated SDL_HINT_GAMECONTROLLERCONFIG documentation to reflect that it only takes effect before init. --- include/SDL_hints.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/SDL_hints.h b/include/SDL_hints.h index a0b21039c..9c1080c53 100644 --- a/include/SDL_hints.h +++ b/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"