SDL_GetGamepadPath(3)

SDL_GetGamepadPath3

Get the implementation-dependent path for an opened gamepad.

Usage

#include "SDL3/SDL.h"

const char * SDL_GetGamepadPath(SDL_Gamepad *gamepad);

Header file

Defined in SDL3/SDL_gamepad.h

Function parameters

gamepad

a gamepad identifier previously returned by SDL_OpenGamepad ().

Return value

Returns the implementation dependent path for the gamepad, or NULL if there is no path or the identifier passed is invalid.

Availability

This function is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.