Get the implementation-dependent path for an opened gamepad.
Defined in <SDL3/SDL_gamepad.h>
const char * SDL_GetGamepadPath(SDL_Gamepad *gamepad);
SDL_Gamepad * | gamepad | a gamepad identifier previously returned by SDL_OpenGamepad(). |
(const char *) Returns the implementation dependent path for the gamepad, or NULL if there is no path or the identifier passed is invalid.
It is safe to call this function from any thread.
This function is available since SDL 3.2.0.