Function sdl2_sys::SDL_HapticName
source · Expand description
\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