Lines Matching full:device_info
145 HidDeviceInfo device_info;
146 device_info.device_id = device_path;
179 device_info.vendor_id = attrib.VendorID;
180 device_info.product_id = attrib.ProductID;
192 device_info.input_report_size = capabilities.InputReportByteLength;
193 device_info.output_report_size = capabilities.OutputReportByteLength;
194 device_info.feature_report_size = capabilities.FeatureReportByteLength;
195 device_info.usages.push_back(HidUsageAndPage(
206 device_info.has_report_id = (value_caps[0].ReportID != 0);
209 if (!device_info.has_report_id && capabilities.NumberInputButtonCaps > 0)
218 device_info.has_report_id = (button_caps[0].ReportID != 0);
225 AddDevice(device_info);
239 HidDeviceInfo device_info;
240 if (!GetDeviceInfo(device_id, &device_info))
242 scoped_refptr<HidConnectionWin> connection(new HidConnectionWin(device_info));