Function sdl2_sys::SDL_GameControllerGetVendor
source · pub unsafe extern "C" fn SDL_GameControllerGetVendor(
gamecontroller: *mut SDL_GameController,
) -> Uint16
Expand description
Get the USB vendor ID of an opened controller, if available.
If the vendor ID isn’t available this function returns 0.
\param gamecontroller the game controller object to query. \return the USB vendor ID, or zero if unavailable.
\since This function is available since SDL 2.0.6.