SDL_GetGamepadVendor

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

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

extern (C) nothrow @nogc extern
SDL_GetGamepadVendor

Parameters

gamepad SDL_Gamepad*

the gamepad object to query.

Return Value

Type: Uint16

the USB vendor ID, or zero if unavailable.

See Also

Meta