Lines Matching refs:vendor_id

394 HIDAPI_IsDeviceSupported(Uint16 vendor_id, Uint16 product_id, Uint16 version, const char *name)  in HIDAPI_IsDeviceSupported()  argument
397 …SDL_GameControllerType type = SDL_GetJoystickGameControllerType(name, vendor_id, product_id, -1, 0… in HIDAPI_IsDeviceSupported()
401 …if (driver->enabled && driver->IsSupportedDevice(name, type, vendor_id, product_id, version, -1, 0… in HIDAPI_IsDeviceSupported()
423 if (RAWINPUT_IsDevicePresent(device->vendor_id, device->product_id, device->version)) { in HIDAPI_GetDeviceDriver()
429 if (device->vendor_id != USB_VENDOR_VALVE) { in HIDAPI_GetDeviceDriver()
438 …type = SDL_GetJoystickGameControllerType(device->name, device->vendor_id, device->product_id, devi… in HIDAPI_GetDeviceDriver()
441 …if (driver->enabled && driver->IsSupportedDevice(device->name, type, device->vendor_id, device->pr… in HIDAPI_GetDeviceDriver()
468 HIDAPI_GetJoystickByInfo(const char *path, Uint16 vendor_id, Uint16 product_id) in HIDAPI_GetJoystickByInfo() argument
472 if (device->vendor_id == vendor_id && device->product_id == product_id && in HIDAPI_GetJoystickByInfo()
491 const char *name = device->driver->GetDeviceName(device->vendor_id, device->product_id); in HIDAPI_SetupDeviceDriver()
689 device->vendor_id = info->vendor_id; in HIDAPI_AddDevice()
700 const Uint16 vendor = device->vendor_id; in HIDAPI_AddDevice()
746 …device->name = SDL_CreateJoystickName(device->vendor_id, device->product_id, manufacturer_string, … in HIDAPI_AddDevice()
772 …4x, usage 0x%.4x, path = %s, driver = %s (%s)\n", device->name, device->vendor_id, device->product… in HIDAPI_AddDevice()
820 device = HIDAPI_GetJoystickByInfo(info->path, info->vendor_id, info->product_id); in HIDAPI_UpdateDeviceList()
846 HIDAPI_IsDevicePresent(Uint16 vendor_id, Uint16 product_id, Uint16 version, const char *name) in HIDAPI_IsDevicePresent() argument
863 supported = HIDAPI_IsDeviceSupported(vendor_id, product_id, version, name); in HIDAPI_IsDevicePresent()
884 if (device->vendor_id == vendor_id && device->product_id == product_id && device->driver) { in HIDAPI_IsDevicePresent()
892 if (!result && vendor_id == USB_VENDOR_MICROSOFT && product_id == 0x02a1) { in HIDAPI_IsDevicePresent()
897 …cePresent() returning %s for 0x%.4x / 0x%.4x\n", result ? "true" : "false", vendor_id, product_id); in HIDAPI_IsDevicePresent()