From 6b1551d1039542a73c979da56468c46c3194ce42 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sun, 24 Nov 2024 10:56:19 +0100 Subject: 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. --- check_layout.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'check_layout.py') 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): -- cgit v1.2.3