From 05d121c3423a2667538663b57c329eac53c9d2be Mon Sep 17 00:00:00 2001 From: Luca Date: Thu, 8 Jul 2021 02:11:53 +0200 Subject: [PATCH] Add keyboard layout --- README.md | 7 +- keyboard-layout(1).json | 161 ++++++++++++++++++++++++++++++++++++++++ keyboard-layout.json | 161 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 328 insertions(+), 1 deletion(-) create mode 100644 keyboard-layout(1).json create mode 100644 keyboard-layout.json diff --git a/README.md b/README.md index 3473af8..ca273b8 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ### kezboard-case.FCStd -Main FreeCAD file containing the case design +main FreeCAD file containing the case design ### kezboard-plate.dxf @@ -21,3 +21,8 @@ plate with larger cutouts for stabilizers, also generated using https://kbplate. ### kezboard-pcb.dxf back view of switch through-holes + cutouts for regular WS2812B leds, once used to evaluate whether installing them upside down to the back of the pcb would be feasible + +### keyboard-layout.json, keyboard-layout(1).json + +generated using http://www.keyboard-layout-editor.com +only the last column is different: Del-Home-PgUp-PgDn-End-Right vs. Del-Home-End-PgUp-PgDn-Right, respectively diff --git a/keyboard-layout(1).json b/keyboard-layout(1).json new file mode 100644 index 0000000..612573b --- /dev/null +++ b/keyboard-layout(1).json @@ -0,0 +1,161 @@ +[ + [ + "Esc", + { + "x": 0.25 + }, + "F1", + "F2", + "F3", + "F4", + { + "x": 0.25 + }, + "F5", + "F6", + "F7", + "F8", + { + "x": 0.25 + }, + "F9", + "F10", + "F11", + "F12", + { + "x": 0.25 + }, + "Insert", + "Delete" + ], + [ + "~\n`", + "!\n1", + "@\n2", + "#\n3", + "$\n4", + "%\n5", + "^\n6", + "&\n7", + "*\n8", + "(\n9", + ")\n0", + "_\n-", + "+\n=", + { + "w": 2 + }, + "Backspace", + "Home" + ], + [ + { + "w": 1.5 + }, + "Tab", + "Q", + "W", + "E", + "R", + "T", + "Y", + "U", + "I", + "O", + "P", + "{\n[", + "}\n]", + { + "x": 0.25, + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "Enter", + "PgUp" + ], + [ + { + "w": 1.75 + }, + "Caps Lock", + "A", + "S", + "D", + "F", + "G", + "H", + "J", + "K", + "L", + ":\n;", + "\"\n'", + "|\n\\", + { + "x": 1.25 + }, + "PgDn" + ], + [ + { + "w": 1.25 + }, + "Shift", + { + "a": 7 + }, + "", + { + "a": 4 + }, + "Z", + "X", + "C", + "V", + "B", + "N", + "M", + "<\n,", + ">\n.", + "?\n/", + { + "w": 1.75 + }, + "Shift", + "↑", + "End" + ], + [ + { + "w": 1.5 + }, + "Ctrl", + { + "w": 1.25 + }, + "Win", + { + "w": 1.25 + }, + "Alt", + { + "a": 7, + "w": 6.25 + }, + "", + { + "a": 4, + "w": 1.25 + }, + "AltGr", + { + "w": 1.5 + }, + "Ctrl", + "←", + "↓", + "→" + ] +] \ No newline at end of file diff --git a/keyboard-layout.json b/keyboard-layout.json new file mode 100644 index 0000000..a4ff46e --- /dev/null +++ b/keyboard-layout.json @@ -0,0 +1,161 @@ +[ + [ + "Esc", + { + "x": 0.25 + }, + "F1", + "F2", + "F3", + "F4", + { + "x": 0.25 + }, + "F5", + "F6", + "F7", + "F8", + { + "x": 0.25 + }, + "F9", + "F10", + "F11", + "F12", + { + "x": 0.25 + }, + "Insert", + "Delete" + ], + [ + "~\n`", + "!\n1", + "@\n2", + "#\n3", + "$\n4", + "%\n5", + "^\n6", + "&\n7", + "*\n8", + "(\n9", + ")\n0", + "_\n-", + "+\n=", + { + "w": 2 + }, + "Backspace", + "Home" + ], + [ + { + "w": 1.5 + }, + "Tab", + "Q", + "W", + "E", + "R", + "T", + "Y", + "U", + "I", + "O", + "P", + "{\n[", + "}\n]", + { + "x": 0.25, + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "Enter", + "End" + ], + [ + { + "w": 1.75 + }, + "Caps Lock", + "A", + "S", + "D", + "F", + "G", + "H", + "J", + "K", + "L", + ":\n;", + "\"\n'", + "|\n\\", + { + "x": 1.25 + }, + "PgUp" + ], + [ + { + "w": 1.25 + }, + "Shift", + { + "a": 7 + }, + "", + { + "a": 4 + }, + "Z", + "X", + "C", + "V", + "B", + "N", + "M", + "<\n,", + ">\n.", + "?\n/", + { + "w": 1.75 + }, + "Shift", + "↑", + "PgDn" + ], + [ + { + "w": 1.5 + }, + "Ctrl", + { + "w": 1.25 + }, + "Win", + { + "w": 1.25 + }, + "Alt", + { + "a": 7, + "w": 6.25 + }, + "", + { + "a": 4, + "w": 1.25 + }, + "AltGr", + { + "w": 1.5 + }, + "Ctrl", + "←", + "↓", + "→" + ] +] \ No newline at end of file