Get the USB vendor ID of a joystick, if available.
This can be called before any joysticks are opened. If the vendor ID isn't available this function returns 0.
The joystick instance ID.
The USB vendor ID of the selected joystick. If called with an invalid instance_id, this function returns 0.
SDL_GetJoystickVendor SDL_GetJoysticks
See Implementation
Get the USB vendor ID of a joystick, if available.
This can be called before any joysticks are opened. If the vendor ID isn't available this function returns 0.