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

◆ get_hid_devices()

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

Get all HID devices.

Definition at line 356 of file InputSubsystem.cpp.

357{
358 std::shared_lock lock(m_backends_mutex);
359 auto it = m_backends.find(InputType::HID);
360 return (it != m_backends.end()) ? it->second->get_devices() : std::vector<InputDeviceInfo> {};
361}
std::unordered_map< InputType, std::unique_ptr< IInputBackend > > m_backends
@ HID
Generic HID devices (game controllers, custom hardware)

References MayaFlux::Core::HID, m_backends, and m_backends_mutex.

Referenced by find_hid_device(), and MayaFlux::get_hid_devices().

+ Here is the caller graph for this function: