summaryrefslogtreecommitdiff
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 = {
58 "atmega328": "usbasploader", 58 "atmega328": "usbasploader",
59} 59}
60 60
61# Map of legacy keycodes that can be automatically updated
62LEGACY_KEYCODES = { # Comment here is to force multiline formatting
63 'RESET': 'QK_BOOT'
64}
65
61# Common format strings 66# Common format strings
62DATE_FORMAT = '%Y-%m-%d' 67DATE_FORMAT = '%Y-%m-%d'
63DATETIME_FORMAT = '%Y-%m-%d %H:%M:%S %Z' 68DATETIME_FORMAT = '%Y-%m-%d %H:%M:%S %Z'