MayaFlux 0.4.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 145 of file Creator.cpp.

148{
149 auto node = std::make_shared<Nodes::Input::HIDNode>(config);
150 register_input_node(node, binding);
151 return node;
152}
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: