Add keyboard layout

This commit is contained in:
Luca 2021-07-08 02:11:53 +02:00
parent 312f99a95e
commit 05d121c342
3 changed files with 328 additions and 1 deletions

View File

@ -4,7 +4,7 @@
### kezboard-case.FCStd ### kezboard-case.FCStd
Main FreeCAD file containing the case design main FreeCAD file containing the case design
### kezboard-plate.dxf ### kezboard-plate.dxf
@ -21,3 +21,8 @@ plate with larger cutouts for stabilizers, also generated using https://kbplate.
### kezboard-pcb.dxf ### 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 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

161
keyboard-layout(1).json Normal file
View File

@ -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",
"←",
"↓",
"→"
]
]

161
keyboard-layout.json Normal file
View File

@ -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",
"←",
"↓",
"→"
]
]