SDL_GetGamepadPathForID

Get the implementation dependent path of a gamepad.

This can be called before any gamepads are opened.

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

Parameters

instance_id SDL_JoystickID

the joystick instance ID.

Return Value

Type: const(char)**

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

See Also

Meta