logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_GetJoystickPathForID - Get the implementation dependent path of a joystick.

Availability

       This function is available since SDL 3.2.0.

Description

       This can be called before any joysticks are opened.

Function Parameters

instance_id
              the joystick instance ID.

Header File

       Defined in SDL3/SDL_joystick.h

Name

       SDL_GetJoystickPathForID - Get the implementation dependent path of a joystick.

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.

See Also

(3), SDL_GetJoystickPath(3), (3), SDL_GetJoysticks(3)

Simple Directmedia Layer                           SDL 3.2.10                        SDL_GetJoystickPathForID(3)

Synopsis

#include"SDL3/SDL.h"constchar*SDL_GetJoystickPathForID(SDL_JoystickIDinstance_id);

See Also