diff options
author | Devaev Maxim <[email protected]> | 2019-02-16 21:17:04 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-02-16 21:17:04 +0300 |
commit | 849c1ce67eb1ab94f886cb719e13b5b9f4ec55f8 (patch) | |
tree | 61d4160c50bdb7e355c62d61b29662dee975f317 /genmap.py | |
parent | 303715ee613fca518644df63c10be3c06d4bfa72 (diff) |
refactoring
Diffstat (limited to 'genmap.py')
-rwxr-xr-x | genmap.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,11 +27,11 @@ def main() -> None: js_key=parts[2], )) - with open("kvmd/data/keymap.yaml", "w") as kvmd_yaml_file: + with open("kvmd/data/keymap.yaml", "w") as keymap_yaml_file: yaml.dump({ km.js_key: km.kvmd_code for km in keymap - }, kvmd_yaml_file, indent=4, default_flow_style=False) + }, keymap_yaml_file, indent=4, default_flow_style=False) with open("hid/src/keymap.h", "w") as hid_header_file: hid_header_file.write("#pragma once\n\n#include <HID-Project.h>\n\n#include \"inline.h\"\n\n\n") |