Function SDL_GetMouseNameForID
pub unsafe extern "C" fn SDL_GetMouseNameForID(
instance_id: u32,
) -> *const i8
Available on crate feature
dep_sdl3
only.Expand description
Get the name of a mouse.
This function returns “” if the mouse doesn’t have a name.
§Parameters
instance_id
: the mouse instance ID.
§Return value
Returns the name of the selected mouse, or NULL on failure; call
SDL_GetError()
for more information.
§Thread safety
This function should only be called on the main thread.
§Availability
This function is available since SDL 3.2.0.