SDL_GetJoystickSerial

Get the serial number of an opened joystick, if available.

Returns the serial number of the joystick, or NULL if it is not available.

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

Parameters

joystick SDL_Joystick*

the SDL_Joystick obtained from SDL_OpenJoystick().

Return Value

Type: const(char)*

The serial number of the selected joystick, or NULL if unavailable.

Meta