From 7ea4b8fe8a227eee5eb4eb6f9afc43af10b04d47 Mon Sep 17 00:00:00 2001 From: IhatemyISP Date: Sat, 15 Feb 2020 15:17:43 -0500 Subject: [PATCH] Dactyl Manuform 4x6 w/ Legends Adding layout for legends on Dactyl Manuform 4x6 --- src/key_layouts.scad | 3 +- src/layouts/dactyl_manuform/4x6_legends.scad | 45 ++++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 src/layouts/dactyl_manuform/4x6_legends.scad diff --git a/src/key_layouts.scad b/src/key_layouts.scad index e4e0384..ebe549c 100644 --- a/src/key_layouts.scad +++ b/src/key_layouts.scad @@ -14,4 +14,5 @@ include include include -include \ No newline at end of file +include +include \ No newline at end of file diff --git a/src/layouts/dactyl_manuform/4x6_legends.scad b/src/layouts/dactyl_manuform/4x6_legends.scad new file mode 100644 index 0000000..4465cf9 --- /dev/null +++ b/src/layouts/dactyl_manuform/4x6_legends.scad @@ -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(); +}