Lines Matching refs:vendor

1457 void SDL_GetJoystickGUIDInfo(SDL_JoystickGUID guid, Uint16 *vendor, Uint16 *product, Uint16 *versio…  in SDL_GetJoystickGUIDInfo()  argument
1470 if (vendor) { in SDL_GetJoystickGUIDInfo()
1471 *vendor = guid16[2]; in SDL_GetJoystickGUIDInfo()
1480 if (vendor) { in SDL_GetJoystickGUIDInfo()
1481 *vendor = 0; in SDL_GetJoystickGUIDInfo()
1507 SDL_CreateJoystickName(Uint16 vendor, Uint16 product, const char *vendor_name, const char *product_… in SDL_CreateJoystickName() argument
1521 custom_name = GuessControllerName(vendor, product); in SDL_CreateJoystickName()
1549 } else if (vendor || product) { in SDL_CreateJoystickName()
1555 SDL_snprintf(name, len, "0x%.4x/0x%.4x", vendor, product); in SDL_CreateJoystickName()
1608 Uint16 vendor, product; in SDL_GetJoystickGameControllerTypeFromGUID() local
1610 SDL_GetJoystickGUIDInfo(guid, &vendor, &product, NULL); in SDL_GetJoystickGameControllerTypeFromGUID()
1611 type = SDL_GetJoystickGameControllerType(name, vendor, product, -1, 0, 0, 0); in SDL_GetJoystickGameControllerTypeFromGUID()
1622 SDL_GetJoystickGameControllerType(const char *name, Uint16 vendor, Uint16 product, int interface_nu… in SDL_GetJoystickGameControllerType() argument
1665 if (vendor == SUPPORTED_VENDORS[i]) { in SDL_GetJoystickGameControllerType()
1689 if (vendor == SUPPORTED_VENDORS[i]) { in SDL_GetJoystickGameControllerType()
1697 if (vendor == 0x0000 && product == 0x0000) { in SDL_GetJoystickGameControllerType()
1710 } else if (vendor == 0x0001 && product == 0x0001) { in SDL_GetJoystickGameControllerType()
1714 switch (GuessControllerType(vendor, product)) { in SDL_GetJoystickGameControllerType()
1741 SDL_IsJoystickNintendoSwitchProInputOnly(Uint16 vendor, Uint16 product) in SDL_IsJoystickNintendoSwitchProInputOnly() argument
1743 EControllerType eType = GuessControllerType(vendor, product); in SDL_IsJoystickNintendoSwitchProInputOnly()
1748 SDL_IsJoystickSteamController(Uint16 vendor, Uint16 product) in SDL_IsJoystickSteamController() argument
1750 EControllerType eType = GuessControllerType(vendor, product); in SDL_IsJoystickSteamController()
1847 Uint16 vendor; in SDL_GetJoystickGUIDType() local
1885 SDL_GetJoystickGUIDInfo(guid, &vendor, &product, NULL); in SDL_GetJoystickGUIDType()
1886 vidpid = MAKE_VIDPID(vendor, product); in SDL_GetJoystickGUIDType()
1900 if (GuessControllerType(vendor, product) != k_eControllerType_UnknownNonSteamController) { in SDL_GetJoystickGUIDType()
2044 Uint16 vendor; in SDL_ShouldIgnoreJoystick() local
2047 SDL_GetJoystickGUIDInfo(guid, &vendor, &product, NULL); in SDL_ShouldIgnoreJoystick()
2050 id = MAKE_VIDPID(vendor, product); in SDL_ShouldIgnoreJoystick()
2057 …if (SDL_GetJoystickGameControllerType(name, vendor, product, -1, 0, 0, 0) == SDL_CONTROLLER_TYPE_P… in SDL_ShouldIgnoreJoystick()
2088 Uint16 vendor; in SDL_JoystickGetDeviceVendor() local
2091 SDL_GetJoystickGUIDInfo(guid, &vendor, NULL, NULL); in SDL_JoystickGetDeviceVendor()
2092 return vendor; in SDL_JoystickGetDeviceVendor()
2170 Uint16 vendor; in SDL_JoystickGetVendor() local
2173 SDL_GetJoystickGUIDInfo(guid, &vendor, NULL, NULL); in SDL_JoystickGetVendor()
2174 return vendor; in SDL_JoystickGetVendor()