SDL_GetGamepadNameForID

Get the implementation dependent name of a gamepad.

This can be called before any gamepads are opened.

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

Parameters

instance_id SDL_JoystickID

the joystick instance ID.

Return Value

Type: const(char)**

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

See Also

Meta