Skip to content

feat(layout): add Tarmak layouts (@siily-g) #6574

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

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
39 changes: 39 additions & 0 deletions frontend/static/layouts/tarmak_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"keymapShowTopRow": false,
"type": "ansi",
"keys": {
"row1": [
"`~",
"1!",
"2@",
"3#",
"4$",
"5%",
"6^",
"7&",
"8*",
"9(",
"0)",
"-_",
"=+"
],
"row2": [
"qQ",
"wW",
"jJ",
"rR",
"tT",
"yY",
"uU",
"iI",
"oO",
"pP",
"[{",
"]}",
"\\|"
],
"row3": ["aA", "sS", "dD", "fF", "gG", "hH", "nN", "eE", "lL", ";:", "'\""],
"row4": ["zZ", "xX", "cC", "vV", "bB", "kK", "mM", ",<", ".>", "/?"],
"row5": [" "]
}
}
39 changes: 39 additions & 0 deletions frontend/static/layouts/tarmak_2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"keymapShowTopRow": false,
"type": "ansi",
"keys": {
"row1": [
"`~",
"1!",
"2@",
"3#",
"4$",
"5%",
"6^",
"7&",
"8*",
"9(",
"0)",
"-_",
"=+"
],
"row2": [
"qQ",
"wW",
"fF",
"rR",
"gG",
"yY",
"uU",
"iI",
"oO",
"pP",
"[{",
"]}",
"\\|"
],
"row3": ["aA", "sS", "dD", "tT", "jJ", "hH", "nN", "eE", "lL", ";:", "'\""],
"row4": ["zZ", "xX", "cC", "vV", "bB", "kK", "mM", ",<", ".>", "/?"],
"row5": [" "]
}
}
39 changes: 39 additions & 0 deletions frontend/static/layouts/tarmak_3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"keymapShowTopRow": false,
"type": "ansi",
"keys": {
"row1": [
"`~",
"1!",
"2@",
"3#",
"4$",
"5%",
"6^",
"7&",
"8*",
"9(",
"0)",
"-_",
"=+"
],
"row2": [
"qQ",
"wW",
"fF",
"jJ",
"gG",
"yY",
"uU",
"iI",
"oO",
"pP",
"[{",
"]}",
"\\|"
],
"row3": ["aA", "rR", "sS", "tT", "dD", "hH", "nN", "eE", "lL", ";:", "'\""],
"row4": ["zZ", "xX", "cC", "vV", "bB", "kK", "mM", ",<", ".>", "/?"],
"row5": [" "]
}
}
39 changes: 39 additions & 0 deletions frontend/static/layouts/tarmak_4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"keymapShowTopRow": false,
"type": "ansi",
"keys": {
"row1": [
"`~",
"1!",
"2@",
"3#",
"4$",
"5%",
"6^",
"7&",
"8*",
"9(",
"0)",
"-_",
"=+"
],
"row2": [
"qQ",
"wW",
"fF",
"pP",
"gG",
"jJ",
"uU",
"iI",
"yY",
";:",
"[{",
"]}",
"\\|"
],
"row3": ["aA", "rR", "sS", "tT", "dD", "hH", "nN", "eE", "lL", "oO", "'\""],
"row4": ["zZ", "xX", "cC", "vV", "bB", "kK", "mM", ",<", ".>", "/?"],
"row5": [" "]
}
}
6 changes: 5 additions & 1 deletion packages/contracts/src/schemas/layouts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,11 @@ export const LayoutNameSchema = z.enum([
"ergopti",
"sword",
"opy",
"tarmak_1",
"tarmak_2",
"tarmak_3",
"tarmak_4",
]
);

export type LayoutName = z.infer<typeof LayoutNameSchema>;
export type LayoutName = z.infer<typeof LayoutNameSchema>;