Format keyboard mappings and add source