MayaFlux 0.3.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 131 of file Creator.cpp.

134{
135 auto node = std::make_shared<Nodes::Input::HIDNode>(config);
136 register_input_node(node, binding);
137 return node;
138}
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: