Dactyl Manuform 4x6 w/ Legends

Adding layout for legends on Dactyl Manuform 4x6
This commit is contained in:
IhatemyISP 2020-02-15 15:17:43 -05:00
parent 48378d5759
commit 7ea4b8fe8a
No known key found for this signature in database
GPG Key ID: C87915CB776E8490
2 changed files with 47 additions and 1 deletions

View File

@ -15,3 +15,4 @@ include <layouts/gherkin/default.scad>
include <layouts/gherkin/gherkin_bump.scad> include <layouts/gherkin/gherkin_bump.scad>
include <layouts/dactyl_manuform/4x6.scad> include <layouts/dactyl_manuform/4x6.scad>
include <layouts/dactyl_manuform/4x6_legends.scad>

View File

@ -0,0 +1,45 @@
include <../layout.scad>
dactyl_manuform_4x6_main = [
[1, 1, 1, 1, 1, 1, -1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, -1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, -1, 1, 1, 1, 1, 1, 1],
[-1, -1, 1, 1, -1, -1, -1, -1, -1, 1, 1, -1, -1]
];
dactyl_manuform_4x6_thumbs_l = [
[1.25, 1.25],
[-0.25, 1, 1],
[-0.25, 1, 1]
];
dactyl_manuform_4x6_thumbs_r = [
[1.25, 1.25],
[-0.25, 1, 1],
[-0.25, 1, 1]
];
dactyl_manuform_4x6_main_legends = [
["ESC", "Q", "W", "E", "R", "T", "", "Y", "U", "I", "O", "P", "{["],
["LS", "A", "S", "D", "F", "G", "", "H", "J", "K", "L", ";:", "'\""],
["TAB", "Z", "X", "C", "V", "B", "", "N", "M", ",<", ".>", "/?", "\\|"],
["", "", "CAPS", "T(2)", "", "", "", "", "", "T(1)", "]}", "", ""]
];
dactyl_manuform_4x6_thumbs_l_legends = [
["~`", "LCTL"],
["", "RALT", "CMD"],
["", "MEH", "T(2^)"]
];
dactyl_manuform_4x6_thumbs_r_legends = [
["", "BKSP"],
["", "ENTR", "CP"],
["", "T(1^)", "PST"]
];
module dactyl_manuform_4x6_legends(profile) {
layout(dactyl_manuform_4x6_main, profile, legends=dactyl_manuform_4x6_main_legends) children();
translate_u(3,-5) rotate([0,0,25]) layout(dactyl_manuform_4x6_thumbs_l, profile, legends=dactyl_manuform_4x6_thumbs_l_legends, row_override=3) children();
translate_u(7.75,-3.95) rotate([0,0,-25]) layout(dactyl_manuform_4x6_thumbs_r, profile, legends=dactyl_manuform_4x6_thumbs_r_legends, row_override=3) children();
}