Function SDL_GetJoystickPath

pub unsafe extern "C" fn SDL_GetJoystickPath(
    joystick: *mut SDL_Joystick,
) -> *const i8
Available on crate feature dep_sdl3 only.
Expand description

Get the implementation dependent path of a joystick.

§Parameters

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

§Availability

This function is available since SDL 3.2.0.

§See also