Renamed SDL_GetKeyboardInstanceName() and SDL_GetMouseInstanceName()

For consistency with other device APIs
This commit is contained in:
Sam Lantinga committed 2024-07-14 13:01:53 -07:00
1 parent d154b37b41
commit 9358333286
8 files changed
+15 -15

No files matched your search

+2 -2
View File
@@ -142,7 +142,7 @@ extern SDL_DECLSPEC SDL_bool SDLCALL SDL_HasMouse(void);
*
* \since This function is available since SDL 3.0.0.
*
* \sa SDL_GetMouseInstanceName
* \sa SDL_GetMouseNameFromID
* \sa SDL_HasMouse
*/
extern SDL_DECLSPEC SDL_MouseID *SDLCALL SDL_GetMice(int *count);
@@ -162,7 +162,7 @@ extern SDL_DECLSPEC SDL_MouseID *SDLCALL SDL_GetMice(int *count);
*
* \sa SDL_GetMice
*/
extern SDL_DECLSPEC const char *SDLCALL SDL_GetMouseInstanceName(SDL_MouseID instance_id);
extern SDL_DECLSPEC const char *SDLCALL SDL_GetMouseNameFromID(SDL_MouseID instance_id);
/**
* Get the window which currently has mouse focus.