SDL_GetGamepadPath - Man Page

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

gamepad

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.2.0.

See Also

·(3), SDL_GetGamepadPathForID(3)

Referenced By

SDL_GetGamepadPathForID(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS