summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/constants.py
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-08-13 14:39:56 +0100
committerGitHub <noreply@github.com>2022-08-13 14:39:56 +0100
commitfc7e9efd215fee7ec8acd3e2740a6ab9d4633818 (patch)
tree30ddf7c53461e92e2baf30c958e75ad0ef09e455 /lib/python/qmk/constants.py
parenta02aff9c77c15ca9e248f84b09a88386a8f4b0a6 (diff)
Improve importer workflow (#17707)
Diffstat (limited to 'lib/python/qmk/constants.py')
-rw-r--r--lib/python/qmk/constants.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/python/qmk/constants.py b/lib/python/qmk/constants.py
index 95fe9a61d0..5fe8326daf 100644
--- a/lib/python/qmk/constants.py
+++ b/lib/python/qmk/constants.py
@@ -58,6 +58,11 @@ MCU2BOOTLOADER = {
"atmega328": "usbasploader",
}
+# Map of legacy keycodes that can be automatically updated
+LEGACY_KEYCODES = { # Comment here is to force multiline formatting
+ 'RESET': 'QK_BOOT'
+}
+
# Common format strings
DATE_FORMAT = '%Y-%m-%d'
DATETIME_FORMAT = '%Y-%m-%d %H:%M:%S %Z'