SDL_GetJoystickPathForID

Get the implementation dependent path of a joystick.

This can be called before any joysticks are opened.

extern (C) nothrow @nogc extern
const(char)*
SDL_GetJoystickPathForID

Parameters

instance_id SDL_JoystickID

the joystick instance ID.

Return Value

Type: const(char)*

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

See Also

Meta