From 12f78e18cb0df2ee721927d44d9cfb9c29958292 Mon Sep 17 00:00:00 2001 From: aleksiye <89442337+aleksiye@users.noreply.github.com> Date: Mon, 1 Sep 2025 12:42:10 +0200 Subject: [PATCH] feat(layout): add handsdown neu, and neu inverted (@aleksiye) (#6921) --- frontend/static/layouts/handsdown_neu.json | 62 +++++++++++++++++++ .../layouts/handsdown_neu_inverted.json | 62 +++++++++++++++++++ packages/schemas/src/layouts.ts | 2 + 3 files changed, 126 insertions(+) create mode 100644 frontend/static/layouts/handsdown_neu.json create mode 100644 frontend/static/layouts/handsdown_neu_inverted.json diff --git a/frontend/static/layouts/handsdown_neu.json b/frontend/static/layouts/handsdown_neu.json new file mode 100644 index 000000000..10d6ecef5 --- /dev/null +++ b/frontend/static/layouts/handsdown_neu.json @@ -0,0 +1,62 @@ +{ + "keymapShowTopRow": false, + "type": "ansi", + "keys": { + "row1": [ + ["`", "~"], + ["1", "!"], + ["2", "@"], + ["3", "#"], + ["4", "$"], + ["5", "%"], + ["6", "^"], + ["7", "&"], + ["8", "?"], + ["9", "<"], + ["0", ">"], + ["=", "_"], + ["\\", "|"] + ], + "row2": [ + ["w", "W"], + ["f", "F"], + ["m", "M"], + ["p", "P"], + ["v", "V"], + ["/", "*"], + [".", ":"], + ["q", "Q"], + ["\"", "["], + ["'", "]"], + ["z", "Z"], + ["(", "{"], + [")", "}"] + ], + "row3": [ + ["r", "R"], + ["s", "S"], + ["n", "N"], + ["t", "T"], + ["b", "B"], + [",", ";"], + ["a", "A"], + ["e", "E"], + ["i", "I"], + ["h", "H"], + ["j", "J"] + ], + "row4": [ + ["x", "X"], + ["c", "C"], + ["l", "L"], + ["d", "D"], + ["g", "G"], + ["-", "+"], + ["u", "U"], + ["o", "O"], + ["y", "Y"], + ["k", "K"] + ], + "row5": [[" "]] + } +} diff --git a/frontend/static/layouts/handsdown_neu_inverted.json b/frontend/static/layouts/handsdown_neu_inverted.json new file mode 100644 index 000000000..bec040183 --- /dev/null +++ b/frontend/static/layouts/handsdown_neu_inverted.json @@ -0,0 +1,62 @@ +{ + "keymapShowTopRow": false, + "type": "ansi", + "keys": { + "row1": [ + ["`", "~"], + ["1", "!"], + ["2", "@"], + ["3", "#"], + ["4", "$"], + ["5", "%"], + ["6", "^"], + ["7", "&"], + ["8", "?"], + ["9", "<"], + ["0", ">"], + ["=", "_"], + ["\\", "|"] + ], + "row2": [ + ["x", "X"], + ["c", "C"], + ["l", "L"], + ["d", "D"], + ["g", "G"], + ["-", "+"], + ["u", "U"], + ["o", "O"], + ["y", "Y"], + ["k", "K"], + ["z", "Z"], + ["(", "{"], + [")", "}"] + ], + "row3": [ + ["r", "R"], + ["s", "S"], + ["n", "N"], + ["t", "T"], + ["b", "B"], + [",", ";"], + ["a", "A"], + ["e", "E"], + ["i", "I"], + ["h", "H"], + ["j", "J"] + ], + "row4": [ + ["w", "W"], + ["f", "F"], + ["m", "M"], + ["p", "P"], + ["v", "V"], + ["/", "*"], + [".", ":"], + ["q", "Q"], + ["\"", "["], + ["'", "]"] + ], + "row5": [[" "]] + } +} diff --git a/packages/schemas/src/layouts.ts b/packages/schemas/src/layouts.ts index 8fa1c7466..735e455e4 100644 --- a/packages/schemas/src/layouts.ts +++ b/packages/schemas/src/layouts.ts @@ -51,6 +51,8 @@ export const LayoutNameSchema = z.enum( "hungarian", "handsdown_alt", "handsdown_promethium", + "handsdown_neu", + "handsdown_neu_inverted", "typehack", "MTGAP", "MTGAP_full",