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

◆ read_hid()

std::shared_ptr< Nodes::Input::HIDNode > MayaFlux::Creator::read_hid ( const Nodes::Input::HIDConfig &  config,
const Core::InputBinding &  binding 
)

Create and register HID input node.

Parameters
configHID input configuration.
bindingHID input binding.
Returns
Shared pointer to HIDNode (already registered).

Definition at line 217 of file Creator.cpp.

220{
221 auto node = std::make_shared<Nodes::Input::HIDNode>(config);
222 register_input_node(node, binding);
223 return node;
224}
void register_input_node(const std::shared_ptr< Nodes::Input::InputNode > &node, const Core::InputBinding &binding)
Register an input node with specified binding.
Definition Input.cpp:21

References MayaFlux::register_input_node().

Referenced by read_input().

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