SDL_GetGamepadPath3
Get the implementation-dependent path for an opened gamepad.
Usage
#include "SDL3/SDL.h"
const char * SDL_GetGamepadPath(SDL_Gamepad *gamepad);
Header file
Defined in SDL3/SDL_gamepad.h
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.