Get the name of a mouse.
Defined in <SDL3/SDL_mouse.h>
const char * SDL_GetMouseNameForID(SDL_MouseID instance_id);
SDL_MouseID | instance_id | the mouse instance ID. |
(const char *) Returns the name of the selected mouse, or NULL on failure; call SDL_GetError() for more information.
This function returns "" if the mouse doesn't have a name.
This function is available since SDL 3.1.3.