From 6142f4eec82736d95c7b2bd49f23934fc817ff5e Mon Sep 17 00:00:00 2001 From: Bastien Riviere Date: Wed, 24 Apr 2024 14:23:36 +0200 Subject: [PATCH] feat: number layer + re-rename to cradio to build keeb --- build.yaml | 4 ++-- config/{sweep.conf => cradio.conf} | 0 config/{sweep.keymap => cradio.keymap} | 17 +++++++++-------- flake.nix | 2 +- 4 files changed, 12 insertions(+), 11 deletions(-) rename config/{sweep.conf => cradio.conf} (100%) rename config/{sweep.keymap => cradio.keymap} (93%) diff --git a/build.yaml b/build.yaml index cd89e7d..866350c 100644 --- a/build.yaml +++ b/build.yaml @@ -19,6 +19,6 @@ --- include: - board: nice_nano_v2 - shield: sweep_left + shield: cradio_left - board: nice_nano_v2 - shield: sweep_right + shield: cradio_right diff --git a/config/sweep.conf b/config/cradio.conf similarity index 100% rename from config/sweep.conf rename to config/cradio.conf diff --git a/config/sweep.keymap b/config/cradio.keymap similarity index 93% rename from config/sweep.keymap rename to config/cradio.keymap index 111b63e..494cde0 100644 --- a/config/sweep.keymap +++ b/config/cradio.keymap @@ -116,21 +116,22 @@ >; }; - tri_layer { + numbers { bindings = < //╭──────────┬──────────┬──────────┬──────────┬──────────╮ ╭──────────┬──────────┬──────────┬──────────┬──────────╮ - //│ RESET │ │ │ │PROFILE 0 │ │ │ │ │ │ RESET │ - &sys_reset &trans &trans &trans &bt BT_SEL 0 &trans &trans &trans &trans &sys_reset + //│ │ 7 │ 8 │ 9 │ * │ │ % │ │ │ │ │ + &trans &kp N7 &kp N8 &kp N9 &kp STAR &kp PERC &trans &trans &trans &trans //├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤ - //│BOOTLOADER│ │ │ │PROFILE 1 │ │ │ │ │ │BOOTLOADER│ - &bootloader &trans &trans &trans &bt BT_SEL 1 &trans &trans &trans &trans &bootloader + //│ - │ 4 │ 5 │ 6 │ + │ │ = │ CTRL │ ALT │ CMD │ SHIFT │ + &kp MINUS &kp N4 &kp N5 &kp N6 &kp PLUS &kp EQL &sk LCTRL &sk LALT &sk LCMD &sk LSHFT //├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤ - //│ │ │ │ CLEAR BT │PROFILE 2 │ │ │ │ │ │ │ - &trans &trans &trans &bt BT_CLR &bt BT_SEL 2 &trans &trans &trans &trans &trans + //│ │ 1 │ 2 │ 3 │ / │ │ │ │ │ │ │ + &trans &kp N1 &kp N2 &kp N3 &kp FSLH &trans &trans &trans &trans &trans //╰──────────┴──────────┴──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┴──────────┴──────────╯ - &trans &trans &trans &trans + &kp N0 &mo FUN &trans &trans // ╰──────────┴──────────╯ ╰──────────┴──────────╯ >; }; + }; }; diff --git a/flake.nix b/flake.nix index 535074f..df0a7fd 100644 --- a/flake.nix +++ b/flake.nix @@ -43,7 +43,7 @@ ]; board = "nice_nano_v2"; - shield = "lotus58_%PART%"; + shield = "cradio_%PART%"; zephyrDepsHash = "sha256-Afxy2Dt3dUnkK+K4evsjyEIHI+sWVbJIWQ826p74SMo=";