|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
Called repeatedly while a key is held and the element has focus.
Fires on initial press and continues on each repeat tick until the key is released. Useful for continuous adjustments (arrow key nudging, value increments) without requiring the user to repeatedly press.
| id | Element id to bind to. |
| key | The key to listen for. |
| fn | Callback receiving element id, fired on press and each repeat. |
Definition at line 100 of file Context.cpp.
References MayaFlux::Vruta::EventManager::add_event(), handle_key_held(), MayaFlux::Kriya::key_held(), m_callbacks, m_event_manager, m_name, m_registered_keys, and m_window.
Referenced by key_step().
Here is the call graph for this function:
Here is the caller graph for this function: