瀏覽代碼

Fixed the documentation for SDL_GetGamepadMappings()

Sam Lantinga 1 年之前
父節點
當前提交
af58ed978e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/SDL3/SDL_gamepad.h

+ 1 - 1
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.