Function SDL_GetHapticName

pub unsafe extern "C" fn SDL_GetHapticName(
    haptic: *mut SDL_Haptic,
) -> *const i8
Available on crate feature dep_sdl3 only.
Expand description

Get the implementation dependent name of a haptic device.

§Parameters

§Return value

Returns the name of the selected haptic device. If no name can be found, this function returns NULL; call SDL_GetError() for more information.

§Availability

This function is available since SDL 3.2.0.

§See also