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

◆ register_input_node()

MAYAFLUX_API void MayaFlux::register_input_node ( const std::shared_ptr< Nodes::Input::InputNode > &  node,
const Core::InputBinding binding 
)

Register an input node with specified binding.

Parameters
nodeThe InputNode to register
bindingSpecifies what input the node wants

Convenience wrapper for InputManager::register_node() on the default engine.

Definition at line 21 of file Input.cpp.

22{
23 get_input_manager().register_node(node, binding);
24}
void register_node(const std::shared_ptr< Nodes::Input::InputNode > &node, InputBinding binding)
Register a node to receive input.
Core::InputManager & get_input_manager()
Gets a handle to default input manager.
Definition Input.cpp:16

References get_input_manager(), and MayaFlux::Core::InputManager::register_node().

Referenced by MayaFlux::Creator::read_hid(), and MayaFlux::Creator::read_midi().

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