SDL_GetMouseNameForID

Get the name of a mouse.

This function returns "" if the mouse doesn't have a name.

extern (C) nothrow @nogc extern
const(char)*
SDL_GetMouseNameForID

Parameters

instance_id SDL_MouseID

the mouse instance ID.

Return Value

Type: const(char)*

The name of the selected mouse, or NULL on failure; call SDL_GetError() for more information.

Threadsafety: This function should only be called on the main thread.

See Also

Meta