2017-08-13 16:15:42 +00:00
|
|
|
// the point of this file is to be a sort of DSL for constructing keycaps.
|
|
|
|
// when you create a method chain you are just changing the parameters
|
|
|
|
// key.scad uses, it doesn't generate anything itself until the end. This
|
2017-10-17 04:50:48 +00:00
|
|
|
// lets it remain easy to use key.scad like before (except without key profiles)
|
2017-08-13 16:15:42 +00:00
|
|
|
// without having to rely on this file. Unfortunately that means setting tons of
|
2017-09-25 04:04:34 +00:00
|
|
|
// special variables, but that's a limitation of SCAD we have to work around
|
2017-08-13 16:15:42 +00:00
|
|
|
|
2017-12-20 05:47:03 +00:00
|
|
|
use <src/key.scad>
|
2017-09-28 16:39:11 +00:00
|
|
|
|
2017-12-20 05:47:03 +00:00
|
|
|
include <src/settings.scad>
|
2018-02-04 20:43:17 +00:00
|
|
|
include <src/key_sizes.scad>
|
|
|
|
include <src/key_profiles.scad>
|
|
|
|
include <src/key_types.scad>
|
|
|
|
include <src/key_transformations.scad>
|
2017-08-12 05:10:48 +00:00
|
|
|
|
2018-06-25 04:41:02 +00:00
|
|
|
translate_u(0, 0) sa_row(3) stepped_caps_lock() {
|
2018-06-24 21:13:51 +00:00
|
|
|
key();
|
|
|
|
}
|
|
|
|
|
2018-06-25 04:41:02 +00:00
|
|
|
translate_u(0, 1) sa_row(2) lshift() {
|
|
|
|
$stem_type = false;
|
2018-06-24 21:13:51 +00:00
|
|
|
key();
|
|
|
|
}
|
|
|
|
|
2018-06-25 04:41:02 +00:00
|
|
|
translate_u(0, 2) sa_row(1) spacebar() alps() {
|
|
|
|
$support_type = false;
|
2018-06-24 21:13:51 +00:00
|
|
|
key();
|
|
|
|
}
|