SDL_GetJoystickVendor

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

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

extern (C) nothrow @nogc extern
SDL_GetJoystickVendor

Parameters

joystick SDL_Joystick*

the SDL_Joystick obtained from SDL_OpenJoystick().

Return Value

Type: Uint16

The USB vendor ID of the selected joystick, or 0 if unavailable.

See Also

Meta