summaryrefslogtreecommitdiff
path: root/lib/python/qmk/c_parse.py
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-13 23:20:54 +1100
committerGitHub <noreply@github.com>2023-03-13 23:20:54 +1100
commit91e0457b0ee8f1b7160d8f7591e0f60195db5455 (patch)
tree67732e1f2a3f8f16bd101518a76f66d72ea0fb64 /lib/python/qmk/c_parse.py
parentcf5e9d172d38e9a9b65cb568631259bf1e2bfec6 (diff)
JSON encoder: improve sorting of layout dict keys (#19974)
Diffstat (limited to 'lib/python/qmk/c_parse.py')
-rw-r--r--lib/python/qmk/c_parse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/c_parse.py b/lib/python/qmk/c_parse.py
index 501c41972f..663688e240 100644
--- a/lib/python/qmk/c_parse.py
+++ b/lib/python/qmk/c_parse.py
@@ -11,7 +11,7 @@ from milc import cli
from qmk.comment_remover import comment_remover
-default_key_entry = {'x': -1, 'y': 0, 'w': 1}
+default_key_entry = {'x': -1, 'y': 0}
single_comment_regex = re.compile(r'\s+/[/*].*$')
multi_comment_regex = re.compile(r'/\*(.|\n)*?\*/', re.MULTILINE)
layout_macro_define_regex = re.compile(r'^#\s*define')