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

◆ open_device

std::function<bool(Core::InputType, uint32_t)> MayaFlux::Registry::Service::InputService::open_device

Open a specific input device.

Parameters
backend_typeBackend type (HID, MIDI, OSC, Serial)
device_idDevice identifier from InputDeviceInfo
Returns
true if device opened successfully

Delegates to appropriate backend's open_device() method. Device must exist in get_all_devices() results before opening.

Definition at line 35 of file InputService.hpp.

Referenced by MayaFlux::Core::InputManager::register_node().