Function sdl2_sys::SDL_JoystickPath

source ยท
pub unsafe extern "C" fn SDL_JoystickPath(
    joystick: *mut SDL_Joystick,
) -> *const c_char
Expand description

Get the implementation dependent path of a joystick.

\param joystick the SDL_Joystick obtained from SDL_JoystickOpen() \returns the path of the selected joystick. If no path can be found, this function returns NULL; call SDL_GetError() for more information.

\since This function is available since SDL 2.24.0.

\sa SDL_JoystickPathForIndex