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

◆ get_input_subsystem()

MAYAFLUX_API const Core::InputSubsystem & MayaFlux::get_input_subsystem ( )

Gets the input subsystem.

Returns
InputSubsystem for input device management

The InputSubsystem handles initialization and management of input devices. Access through Engine ensures proper lifecycle coordination.

Definition at line 10 of file Input.cpp.

11{
12 auto subsystem = get_context().get_subsystem(Core::SubsystemType::INPUT);
13 return *std::dynamic_pointer_cast<Core::InputSubsystem>(subsystem);
14}
std::shared_ptr< ISubsystem > get_subsystem(SubsystemType type)
Get typed access to a specific subsystem.
Definition Engine.hpp:331
Core::Engine & get_context()
Gets the default engine instance.
Definition Core.cpp:58

References get_context(), MayaFlux::Core::Engine::get_subsystem(), and MayaFlux::Core::INPUT.

Referenced by find_hid_device(), get_all_input_devices(), get_hid_devices(), and get_midi_devices().

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