Scroll to navigation

SDL_GetGamepadPath(3) SDL3 FUNCTIONS SDL_GetGamepadPath(3)

NAME

SDL_GetGamepadPath - Get the implementation-dependent path for an opened gamepad.

HEADER FILE

Defined in SDL3/SDL_gamepad.h

SYNOPSIS

#include "SDL3/SDL.h"
const char * SDL_GetGamepadPath(SDL_Gamepad *gamepad);

FUNCTION PARAMETERS

a gamepad identifier previously returned by SDL_OpenGamepad ().

RETURN VALUE

Returns the implementation dependent path for the gamepad, or NULL if there is no path or the identifier passed is invalid.

AVAILABILITY

This function is available since SDL 3.1.3.

SEE ALSO

(3), SDL_GetGamepadPathForID(3)

SDL 3.1.6 Simple Directmedia Layer