Function SDL_GetGamepadPath
pub unsafe extern "C" fn SDL_GetGamepadPath(
gamepad: *mut SDL_Gamepad,
) -> *const i8
Available on crate feature
dep_sdl3
only.Expand description
Get the implementation-dependent path for an opened gamepad.
§Parameters
gamepad
: a gamepad identifier previously returned bySDL_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.