|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API 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.
| window | Window to listen to |
| callback | Function to call on mouse move |
Example:
Definition at line 173 of file InputEvents.cpp.
References callback, MayaFlux::Vruta::WindowEventFilter::event_type, MayaFlux::Core::MOUSE_MOTION, and window.
Referenced by MayaFlux::on_mouse_move(), and MayaFlux::Portal::Forma::Context::register_handlers().
Here is the caller graph for this function: