Updated SDL_HINT_GAMECONTROLLERCONFIG documentation to reflect that it only takes effect before init.
This commit is contained in:
parent
bd9fdb8099
commit
f41de44a36
1 changed files with 4 additions and 3 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue