33 std::shared_ptr<Core::Window> window,
35 std::function<
void()> callback);
53 std::shared_ptr<Core::Window> window,
55 std::function<
void()> callback);
71 MAYAFLUX_API Vruta::Event
any_key(
72 std::shared_ptr<Core::Window> window,
73 std::function<
void(
IO::Keys)> callback);
91 std::shared_ptr<Core::Window> window,
93 std::function<
void(
double,
double)> callback);
111 std::shared_ptr<Core::Window> window,
113 std::function<
void(
double,
double)> callback);
130 std::shared_ptr<Core::Window> window,
131 std::function<
void(
double,
double)> callback);
148 std::shared_ptr<Core::Window> window,
149 std::function<
void(
double,
double)> callback);
MouseButtons
Enumeration for mouse buttons.
@ Vruta
Coroutines, schedulers, clocks, task management.
@ Core
Core engine, backend, subsystems.
@ Kriya
Automatable tasks and fluent scheduling api for Nodes and Buffers.
Vruta::Event key_released(std::shared_ptr< Core::Window > window, IO::Keys key, std::function< void()> callback)
Creates an Event coroutine that triggers on specific key release.
Vruta::Event any_key(std::shared_ptr< Core::Window > window, std::function< void(IO::Keys)> callback)
Creates an Event coroutine that triggers on any key press.
Vruta::Event key_pressed(std::shared_ptr< Core::Window > window, IO::Keys key, std::function< void()> callback)
Creates an Event coroutine that triggers on specific key press.
Vruta::Event mouse_moved(std::shared_ptr< Core::Window > window, std::function< void(double, double)> callback)
Creates an Event coroutine that triggers on mouse movement.
Vruta::Event mouse_scrolled(std::shared_ptr< Core::Window > window, std::function< void(double, double)> callback)
Creates an Event coroutine that triggers on mouse scroll.
Vruta::Event mouse_released(std::shared_ptr< Core::Window > window, IO::MouseButtons button, std::function< void(double, double)> callback)
Creates an Event coroutine that triggers on specific mouse button release.
Vruta::Event mouse_pressed(std::shared_ptr< Core::Window > window, IO::MouseButtons button, std::function< void(double, double)> callback)
Creates an Event coroutine that triggers on specific mouse button press.
Main namespace for the Maya Flux audio engine.