Keymap module

add_mapping

procedure · 1 overloadSource
add_mapping :: (
    keymap: *Keymap,
    key: Key_Code,
    modifier_flags: Event.Modifier_Flags,
    respect_ignore_modifier_keys: bool,
    command: string,
    is_proc: bool
) -> (success: bool, error_type: Add_Mapping_Error_Type)

Parameters

keymap: *Keymap
modifier_flags: Event.Modifier_Flags
respect_ignore_modifier_keys: bool
command: string
is_proc: bool

Returns

success: bool

See also