MayaFlux 0.2.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 428 of file HIDBackend.cpp.

430{
431 return std::ranges::any_of(m_config.filters,
432 [=](const HIDDeviceFilter& f) {
433 return f.matches(vid, pid, usage_page, usage);
434 });
435}
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: