SDL_GetJoystickName

Get the implementation dependent name of a joystick.

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

Parameters

joystick SDL_Joystick*

The SDL_Joystick obtained from SDL_OpenJoystick().

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