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

◆ get_all_devices()

std::vector< InputDeviceInfo > MayaFlux::Core::InputSubsystem::get_all_devices ( ) const

Get all available input devices across all backends.

Definition at line 260 of file InputSubsystem.cpp.

261{
262 std::shared_lock lock(m_backends_mutex);
263 std::vector<InputDeviceInfo> result;
264 for (const auto& [type, backend] : m_backends) {
265 auto devices = backend->get_devices();
266 result.insert(result.end(), devices.begin(), devices.end());
267 }
268 return result;
269}
vk::PhysicalDeviceType type
Definition VKDevice.cpp:146
std::unordered_map< InputType, std::unique_ptr< IInputBackend > > m_backends

References m_backends, m_backends_mutex, and type.

Referenced by MayaFlux::get_all_input_devices(), and register_backend_service().

+ Here is the caller graph for this function: