Scroll to navigation

SDL_GetHapticNameForID(3) SDL3 FUNCTIONS SDL_GetHapticNameForID(3)

NAME

SDL_GetHapticNameForID - Get the implementation dependent name of a haptic device.

SYNOPSIS

#include <SDL3/SDL_haptic.h>
const char * SDL_GetHapticNameForID(SDL_HapticID instance_id);

DESCRIPTION

This can be called before any haptic devices are opened.

FUNCTION PARAMETERS

the haptic device instance ID.

RETURN VALUE

for more information.

AVAILABILITY

This function is available since SDL 3.2.0.

SEE ALSO

SDL_GetHapticName(3), SDL_OpenHaptic(3)

SDL 3.2.14 Simple Directmedia Layer