Skip to main content

KeymapSystem

KeymapSystem

Classes

Name
struct KeymapSystem::KeyActionScope
Scope for a key action, determining when and where it can be dispatched.
struct KeymapSystem::KeyActionDescriptor
Metadata describing a bindable keyboard action.
class KeymapSystem::KeyActionAdapter
Component for receiving keymap dispatches via composition.
struct KeymapSystem::KeymapEntry
A resolved binding mapping an action to a key sequence.
struct KeymapSystem::KeymapOverrideEntry
Serializable user override for a keybinding.
struct KeymapSystem::KeyConflict
A detected conflict between two actions sharing the same key in the same scope.
class KeymapSystem::KeymapManager
Central manager for keyboard shortcut registration, resolution, and dispatch.

Types

Name
enum class KeyActionScopeKind { Global, EditorFocused, AlwaysRouted}
The kind of scope that determines when an action is eligible for dispatch.

Functions

Name
commands::SequenceResult executeCommandSequenceFromRegistry(std::shared_ptr< DataManager > data_manager, EditorRegistry * registry, commands::CommandSequenceDescriptor const & seq)
Run a command sequence using data_manager and time state from registry.

Types Documentation

enum KeyActionScopeKind

Enumerator Value Description
Global Always available, no target widget.
EditorFocused Only when a specific editor type has keyboard focus.
AlwaysRouted Always available; dispatched to a specific editor type regardless of focus.

The kind of scope that determines when an action is eligible for dispatch.

Functions Documentation

function executeCommandSequenceFromRegistry

commands::SequenceResult executeCommandSequenceFromRegistry(
    std::shared_ptr< DataManager > data_manager,
    EditorRegistry * registry,
    commands::CommandSequenceDescriptor const & seq
)

Run a command sequence using data_manager and time state from registry.

Parameters:

Return: Sequence execution outcome; fails if data_manager is null.

Sets runtime_variables current_frame (from TimeController index) and current_time_key (from TimeController active key string).


Updated on 2026-11-13 at 20:25:42 +0000