1.1 --- a/include/SDL_gamecontroller.h Wed Jul 27 20:47:31 2016 +0200
1.2 +++ b/include/SDL_gamecontroller.h Wed Aug 03 22:30:31 2016 +0200
1.3 @@ -93,7 +93,7 @@
1.4 * }
1.5 * }
1.6 *
1.7 - * Using the SDL_HINT_GAMECONTROLLERCONFIG hint or the SDL_GameControllerAddMapping you can add support for controllers SDL is unaware of or cause an existing controller to have a different binding. The format is:
1.8 + * Using the SDL_HINT_GAMECONTROLLERCONFIG hint or the SDL_GameControllerAddMapping() you can add support for controllers SDL is unaware of or cause an existing controller to have a different binding. The format is:
1.9 * guid,name,mappings
1.10 *
1.11 * Where GUID is the string value from SDL_JoystickGetGUIDString(), name is the human readable string for the device and mappings are controller mappings to joystick ones.
1.12 @@ -136,14 +136,14 @@
1.13 /**
1.14 * Get a mapping string for a GUID
1.15 *
1.16 - * \return the mapping string. Must be freed with SDL_free. Returns NULL if no mapping is available
1.17 + * \return the mapping string. Must be freed with SDL_free(). Returns NULL if no mapping is available
1.18 */
1.19 extern DECLSPEC char * SDLCALL SDL_GameControllerMappingForGUID( SDL_JoystickGUID guid );
1.20
1.21 /**
1.22 * Get a mapping string for an open GameController
1.23 *
1.24 - * \return the mapping string. Must be freed with SDL_free. Returns NULL if no mapping is available
1.25 + * \return the mapping string. Must be freed with SDL_free(). Returns NULL if no mapping is available
1.26 */
1.27 extern DECLSPEC char * SDLCALL SDL_GameControllerMapping( SDL_GameController * gamecontroller );
1.28