-
-
Notifications
You must be signed in to change notification settings - Fork 3k
feat(layout): add azerty_AFNOR layout (@JacquesHumule) #7376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
e1d7a4e
ca28a05
219c224
a27937c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| { | ||
| "keymapShowTopRow": true, | ||
| "type": "iso", | ||
| "keys": { | ||
| "row1": [ | ||
| ["@", "#", "˘"], | ||
| ["à", "1", "§", "À"], | ||
| ["é", "2", "´", "É"], | ||
| ["é", "3", "`", "È"], | ||
| ["ê", "4", "&", "Ê"], | ||
| ["(", "5", "[", "˝"], | ||
| [")", "6", "]"], | ||
| ["‘", "7", "¯"], | ||
| ["’", "8", "_", "—"], | ||
| ["«", "9", "“", "‹"], | ||
| ["»", "0", "”", "›"], | ||
| ["'", "\"", "°", "˚"], | ||
| ["^", "¨", "ˇ"] | ||
| ], | ||
| "row2": [ | ||
| ["a", "A", "æ", "Æ"], | ||
| ["z", "Z", "£"], | ||
| ["e", "E", "€"], | ||
| ["r", "R", "®"], | ||
| ["t", "T", "{", "™"], | ||
| ["y", "Y", "}"], | ||
| ["u", "U", "ù", "Ù"], | ||
| ["i", "I", "˙"], | ||
| ["o", "O", "œ", "Œ"], | ||
| ["p", "P", "%", "‰"], | ||
| ["-", "–", "−", "‑"], | ||
| ["+", "±", "†", "‡"] | ||
| ], | ||
| "row3": [ | ||
| ["q", "Q", "θ"], | ||
| ["s", "S", "ß", "ẞ"], | ||
| ["d", "D", "$"], | ||
| ["f", "F", "¤"], | ||
| ["g", "G", "µ"], | ||
| ["h", "H"], | ||
| ["j", "J"], | ||
| ["k", "K", "⁄"], | ||
| ["l", "L", "|"], | ||
| ["m", "M", "∞"], | ||
| ["/", "\\", "÷", "√"], | ||
| ["*", "½", "×", "¼"] | ||
| ], | ||
| "row4": [ | ||
| ["<", ">", "≤", "≥"], | ||
| ["w", "W", "ʒ", "Ʒ"], | ||
| ["x", "X", "©"], | ||
| ["c", "C", "ç", "Ç"], | ||
| ["v", "V", "¸", "˛"], | ||
| ["b", "B"], | ||
| ["n", "N", "~"], | ||
| [".", "?", "¿"], | ||
| [",", "!", "¡"], | ||
| [":", "…", "·"], | ||
| [";", "=", "≃", "≠"] | ||
| ], | ||
| "row5": [[" ", " ", " ", " "]] | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -232,6 +232,7 @@ export const LayoutNameSchema = z.enum( | |
| "persian_standard_colemak", | ||
| "ergo_split46", | ||
| "tamil99", | ||
| "azerty_AFNOR", | ||
JacquesHumule marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ], | ||
| { | ||
| errorMap: customEnumErrorHandler("Must be a supported layout"), | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The row5 definition includes four identical space characters. While this is technically valid according to the schema, it's unusual compared to other layouts in the codebase which typically use a single space character. Consider simplifying this to [[" "]] unless there's a specific reason for the AFNOR standard to define multiple space variants at different modifier levels.