6 #include "../usb/usb-types.h"
7 #include "../hid/hid-types.h"
24 const std::vector< T > & list1,
25 const std::vector< T > & list2,
26 std::function<
bool( T
const &, T
const & ) > equal = []( T
const &
first, T
const & second ) {
return first == second; } )
28 if( list1.size() != list2.size() )
31 for(
auto dev1 : list1 )
34 for(
auto dev2 : list2 )
36 if( equal( dev1, dev2 ) )
56 const std::vector< hid_device_info > &
hid_devices )
69 const std::vector< usb_device_info > &
usb_devices )