diff options
| author | Jules Aguillon | 2024-01-10 00:24:13 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2024-01-10 00:28:21 +0100 |
| commit | 329a35e7d368db79938d026cdec749021e427b5e (patch) | |
| tree | de0734e27dea77fdaa85304b75f6cb044aa76c7c /check_layout.py | |
| parent | b319356a08ee059fd4c3fbcc7242b2d8712fa420 (diff) | |
| download | unexpected-keyboard-329a35e7d368db79938d026cdec749021e427b5e.tar.gz unexpected-keyboard-329a35e7d368db79938d026cdec749021e427b5e.zip | |
Fix layouts containing empty keys
This results in a key being the empty string and do not trigger an
error:
key1="\"
Layouts are fixed and check_layout now checks for this case.
Diffstat (limited to 'check_layout.py')
| -rw-r--r-- | check_layout.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/check_layout.py b/check_layout.py index efa34d8..23481ad 100644 --- a/check_layout.py +++ b/check_layout.py @@ -66,6 +66,7 @@ def check_layout(layout): [ "f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8", "f9", "f10", "f11", "f12" ], "Layout contains function keys") + unexpected_keys(keys, [""], "Layout contains empty strings") bottom_row_keys = [ "ctrl", "fn", "switch_numeric", "change_method", "switch_emoji", |
