From af58ed978e9ccfbaed7fbd2d39c14ebb219dcbd6 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 1 Mar 2024 01:55:43 -0800 Subject: [PATCH] Fixed the documentation for SDL_GetGamepadMappings() --- include/SDL3/SDL_gamepad.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_gamepad.h b/include/SDL3/SDL_gamepad.h index db38086b7..4be8ee0ba 100644 --- a/include/SDL3/SDL_gamepad.h +++ b/include/SDL3/SDL_gamepad.h @@ -319,7 +319,7 @@ extern DECLSPEC int SDLCALL SDL_AddGamepadMappingsFromFile(const char *file); extern DECLSPEC int SDLCALL SDL_ReloadGamepadMappings(void); /** - * Get the mapping at a particular index. + * Get the current gamepad mappings. * * You must free the returned pointer with SDL_free() when you are done with * it, but you do _not_ free each string in the array.