SDL_GetGamepadFirmwareVersion

Get the firmware version of an opened gamepad, if available.

If the firmware version isn't available this function returns 0.

extern (C) nothrow @nogc extern
SDL_GetGamepadFirmwareVersion

Parameters

gamepad SDL_Gamepad*

the gamepad object to query.

Return Value

Type: Uint16

the gamepad firmware version, or zero if unavailable.

Meta