SDL_GetGamepadProductVersion

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

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

extern (C) nothrow @nogc extern
SDL_GetGamepadProductVersion

Parameters

gamepad SDL_Gamepad*

the gamepad object to query.

Return Value

Type: Uint16

the USB product version, or zero if unavailable.

See Also

Meta