Skip to main content

load_helpcode_keymap

Function load_helpcode_keymap 

Source
pub fn load_helpcode_keymap(
    resources: &Path,
    schema: &str,
) -> Result<HelpcodeKeymap>
Expand description

Parse a helpcode table (helpcode_utils.cpp:54-88): BOM and \r stripped, # lines skipped, left=right with the first up-to-two a-z letters of right, later lines overwrite. A missing custom file fails with UNKNOWN_HELPCODE_SCHEMA.