SDL_GetGamepadProduct

Get the USB product ID of an opened gamepad, if available.

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

extern (C) nothrow @nogc extern
SDL_GetGamepadProduct

Parameters

gamepad SDL_Gamepad*

the gamepad object to query.

Return Value

Type: Uint16

the USB product ID, or zero if unavailable.

See Also

Meta