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

◆ wire_backend_to_manager()

void MayaFlux::Core::InputSubsystem::wire_backend_to_manager ( IInputBackend backend)
private

Definition at line 296 of file InputSubsystem.cpp.

297{
298 backend->set_input_callback([this](const InputValue& value) {
300 });
301
302 backend->set_device_callback([](const InputDeviceInfo& info, bool connected) {
304 "Device {}: {} ({})",
305 connected ? "connected" : "disconnected",
306 info.name, static_cast<int>(info.backend_type));
307 });
308}
#define MF_INFO(comp, ctx,...)
std::string name
Definition VKDevice.cpp:143
float value
void enqueue_input(const InputValue &value)
enqueue input value to InputManager
SubsystemProcessingHandle * m_handle
@ InputSubsystem
Input subsystem operations (device management, event dispatch)
@ Core
Core engine, backend, subsystems.

References MayaFlux::Core::InputDeviceInfo::backend_type, MayaFlux::Journal::Core, MayaFlux::Core::InputManagerHandle::enqueue_input(), MayaFlux::Core::SubsystemProcessingHandle::inputs, MayaFlux::Journal::InputSubsystem, m_handle, MF_INFO, MayaFlux::Core::InputDeviceInfo::name, MayaFlux::Core::IInputBackend::set_device_callback(), MayaFlux::Core::IInputBackend::set_input_callback(), and value.

Referenced by add_backend().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: