SDL_GetJoystickPath3
Get the implementation dependent path of a joystick.
Usage
#include "SDL3/SDL.h"
const char * SDL_GetJoystickPath(SDL_Joystick *joystick);
Header file
Defined in SDL3/SDL_joystick.h
Function parameters
- joystick
-
the
SDL_Joystick
obtained fromSDL_OpenJoystick().
Return value
Returns the path of the selected joystick. If no path can be found, this function returns NULL; call SDL_GetError () for more information.