mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2024-11-26 23:04:23 +00:00
layouts (mostly) accept children
This commit is contained in:
parent
9a7740cdfb
commit
e475ee7b6e
@ -8,6 +8,14 @@ include <../layout.scad>
|
||||
[1.25,1.25,1.25,6.25,1.25,1.25,1.25,1.25]
|
||||
];
|
||||
|
||||
60_percent_legends = [
|
||||
["`", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-", "=", "⌫"],
|
||||
["tab", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "[", "]", "\\"],
|
||||
["caps", "a", "s", "d", "f", "g", "h", "j", "k", "l", ";", "'", "enter"],
|
||||
["shift", "z", "x", "c", "v", "b", "n", "m", ",", ".", "/", "shift"],
|
||||
["ctl", "win", "alt", "", "mnu", "win", "alt", "ctl"],
|
||||
];
|
||||
|
||||
module 60_percent_default(profile) {
|
||||
layout(60_percent, profile);
|
||||
layout(60_percent, profile, 60_percent_legends) children();
|
||||
}
|
||||
|
@ -8,5 +8,5 @@ gherkin_mapping = [
|
||||
];
|
||||
|
||||
module gherkin_default(profile) {
|
||||
layout(gherkin_mapping, profile, row_sculpting_offset=1);
|
||||
layout(gherkin_mapping, profile, row_sculpting_offset=1) children();
|
||||
}
|
||||
|
@ -11,5 +11,5 @@ planck_layout_mapping = [
|
||||
];
|
||||
|
||||
module planck_default(profile) {
|
||||
layout(planck_layout_mapping, profile, row_sculpting_offset=1);
|
||||
layout(planck_layout_mapping, profile, row_sculpting_offset=1) children();
|
||||
}
|
||||
|
@ -9,5 +9,5 @@ preonic_layout_mapping = [
|
||||
];
|
||||
|
||||
module preonic_default(profile, column_sculpt_profile="2hands") {
|
||||
layout(preonic_layout_mapping, profile, column_sculpt_profile=column_sculpt_profile);
|
||||
layout(preonic_layout_mapping, profile, column_sculpt_profile=column_sculpt_profile) children();
|
||||
}
|
||||
|
@ -1,3 +1,4 @@
|
||||
// TODO make this use layout()
|
||||
module preonic_mit(profile) {
|
||||
for(x = [0:1:4]) {
|
||||
for(y=[-2.5:0.5:3]) {
|
||||
|
@ -14,6 +14,6 @@ project_zen_thumbs = [
|
||||
];
|
||||
|
||||
module project_zen_default(profile) {
|
||||
layout(project_zen_main, profile);
|
||||
translate_u(4.5,-5) layout(project_zen_thumbs, profile, row_override=3);
|
||||
layout(project_zen_main, profile) children();
|
||||
translate_u(4.5,-5) layout(project_zen_thumbs, profile, row_override=3) children();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user