SDL_GetGamepadSerial

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

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

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

Parameters

gamepad SDL_Gamepad*

the gamepad object to query.

Return Value

Type: const(char)**

the serial number, or NULL if unavailable.

Meta