mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-08-09 01:35:06 +02:00
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.
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user