SDL_GetJoystickNameForID

Get the implementation dependent name of a joystick.

This can be called before any joysticks are opened.

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

Parameters

instance_id SDL_JoystickID

the joystick instance ID.

Return Value

Type: const(char)*

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

See Also

Meta