|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::on_any_key | ( | const std::shared_ptr< Core::Window > & | window, |
| std::function< void(IO::Keys)> | callback, | ||
| std::string | name = "" |
||
| ) |
Schedule a handler for any key press.
| window | Window to listen to |
| callback | Function to call with key code when any key is pressed |
| name | Optional name for the event handler |
Example:
Definition at line 157 of file Chronie.cpp.
References MayaFlux::Kriya::any_key(), and get_event_manager().
Here is the call graph for this function: