MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
InputEvents.hpp File Reference
+ Include dependency graph for InputEvents.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Core
 
namespace  MayaFlux::Vruta
 
namespace  MayaFlux::Kriya
 

Functions

Vruta::Event MayaFlux::Kriya::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 MayaFlux::Kriya::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 MayaFlux::Kriya::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 MayaFlux::Kriya::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.
 
Vruta::Event MayaFlux::Kriya::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 MayaFlux::Kriya::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 MayaFlux::Kriya::mouse_scrolled (std::shared_ptr< Core::Window > window, std::function< void(double, double)> callback)
 Creates an Event coroutine that triggers on mouse scroll.