abouttreesummaryrefslogcommitdiff
path: root/check_layout.py
diff options
context:
space:
mode:
authorJules Aguillon2024-11-24 10:56:19 +0100
committerJules Aguillon2024-11-24 10:56:19 +0100
commit6b1551d1039542a73c979da56468c46c3194ce42 (patch)
tree1d96740a96457876f39e6d2ba5c6eee7776ffa40 /check_layout.py
parented36098439899567a442e504ee0653b696dec0de (diff)
downloadunexpected-keyboard-6b1551d1039542a73c979da56468c46c3194ce42.tar.gz
unexpected-keyboard-6b1551d1039542a73c979da56468c46c3194ce42.zip
layouts format: Add 'c' as a synonym for 'key0'
The attribute 'c' specifies the symbol in the center of a key, just like 'key0'. This adds consistency with the cardinal direction attributes and is intended to make layouts more readable.
Diffstat (limited to 'check_layout.py')
-rw-r--r--check_layout.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/check_layout.py b/check_layout.py
index 9224f79..dc4644a 100644
--- a/check_layout.py
+++ b/check_layout.py
@@ -10,9 +10,8 @@ KNOWN_NOT_LAYOUT = set([
"clipboard_bottom_row" ])
KEY_ATTRIBUTES = set([
- "key0",
- "key1", "key2", "key3", "key4", "key5", "key6", "key7", "key8",
- "nw", "ne", "sw", "se", "w", "e", "n", "s"
+ "key0", "key1", "key2", "key3", "key4", "key5", "key6", "key7", "key8",
+ "c", "nw", "ne", "sw", "se", "w", "e", "n", "s"
])
def warn(msg):