MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ matches_any_filter()

bool MayaFlux::Core::HIDBackend::matches_any_filter ( uint16_t  vid,
uint16_t  pid,
uint16_t  usage_page,
uint16_t  usage 
) const
private

Definition at line 418 of file HIDBackend.cpp.

420{
421 return std::ranges::any_of(m_config.filters,
422 [=](const HIDDeviceFilter& f) {
423 return f.matches(vid, pid, usage_page, usage);
424 });
425}
std::vector< HIDDeviceFilter > filters
Device filters (empty = all devices)

References MayaFlux::Core::HIDBackend::Config::filters, and m_config.

Referenced by refresh_devices().

+ Here is the caller graph for this function: