[−][src]Function sdl2_sys::SDL_HapticName
pub unsafe extern "C" fn SDL_HapticName(device_index: c_int) -> *const c_char
\brief Get the implementation dependent name of a haptic device.
This can be called before any joysticks are opened. If no name can be found, this function returns NULL.
\param device_index Index of the device to get its name. \return Name of the device or NULL on error.
\sa SDL_NumHaptics