From 58f262af6f9c5e91331fc15d4542f2cd73d8461a Mon Sep 17 00:00:00 2001 From: Bastien Riviere Date: Sun, 22 Jun 2025 09:23:19 +0200 Subject: [PATCH 1/6] chore: use kp EQUAL --- config/cradio.keymap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index c7928a8..5b2c059 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -227,7 +227,7 @@ &kp SLASH &kp N7 &kp N8 &kp N9 &kp STAR &bts 0 &bts 1 &bts 2 &bts 3 &bts 4 //├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤ //│ - │ 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 + &kp MINUS &kp N4 &kp N5 &kp N6 &kp PLUS &kp EQUAL &sk LCTRL &sk LALT &sk LCMD &sk LSHFT //├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤ //│ │ 1 │ 2 │ 3 │ 0 │ │ │ │ │ │ │ &trans &kp N1 &kp N2 &kp N3 &kp N0 &trans &trans &bt BT_NXT &bt BT_PRV &bt BT_CLR From 1b7019eb63a0ea01c69a988959dc47289d20363e Mon Sep 17 00:00:00 2001 From: Bastien Riviere Date: Sun, 22 Jun 2025 09:24:53 +0200 Subject: [PATCH 2/6] fix: use PG_DN --- config/cradio.keymap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 5b2c059..3a036f2 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -213,7 +213,7 @@ &sk LSHFT &sk LCMD &sk LALT &sk LCTRL &kp TAB &kp BSPC &kp LEFT &kp ENTER &kp RIGHT &kp DEL //├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤ //│ │ PLAY │ PREVIOUS │ NEXT │ │ │ │ PG_UP │ DOWN │ PG DOWN │ END │ - &none &kp C_PP &kp C_PREV &kp C_NEXT &none &none &kp PG_UP &kp DOWN &kp PG_DOWN &kp END + &none &kp C_PP &kp C_PREV &kp C_NEXT &none &none &kp PG_UP &kp DOWN &kp PG_DN &kp END //╰──────────┴──────────┴──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┴──────────┴──────────╯ &trans &trans &trans &trans // ╰──────────┴──────────╯ ╰──────────┴──────────╯ From 69982fb9fc25e3e446520d1306096181cd17f0a6 Mon Sep 17 00:00:00 2001 From: babariviere <12128029+babariviere@users.noreply.github.com> Date: Sun, 22 Jun 2025 07:25:22 +0000 Subject: [PATCH 3/6] keymap-drawer render --- keymap-drawer/cradio.svg | 4 ++-- keymap-drawer/cradio.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/keymap-drawer/cradio.svg b/keymap-drawer/cradio.svg index b08d933..84b9361 100644 --- a/keymap-drawer/cradio.svg +++ b/keymap-drawer/cradio.svg @@ -757,7 +757,7 @@ rect.held, rect.combo.held { -PGDOWN +PageDown @@ -872,7 +872,7 @@ rect.held, rect.combo.held { -EQL += diff --git a/keymap-drawer/cradio.yaml b/keymap-drawer/cradio.yaml index 4b97bcf..ccdf2f6 100644 --- a/keymap-drawer/cradio.yaml +++ b/keymap-drawer/cradio.yaml @@ -99,7 +99,7 @@ layers: - '' - Page Up - $$mdi:arrow-down$$ - - PG DOWN + - Page Down - END - {type: held} - {t: '$$mdi:chevron-down$$', type: trans} @@ -121,7 +121,7 @@ layers: - '5' - '6' - + - - EQL + - '=' - {t: '$$mdi:apple-keyboard-control$$', h: '$$mdi:circle-small$$'} - {t: '$$mdi:apple-keyboard-option$$', h: '$$mdi:circle-small$$'} - {t: '$$mdi:apple-keyboard-command$$', h: '$$mdi:circle-small$$'} From e8985bf45daffc050a1068404453ab14c100f970 Mon Sep 17 00:00:00 2001 From: Bastien Riviere Date: Sun, 22 Jun 2025 09:27:49 +0200 Subject: [PATCH 4/6] fix: label &one --- config/cradio.keymap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 3a036f2..a5471c1 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -207,7 +207,7 @@ bindings = < //╭──────────┬──────────┬──────────┬──────────┬──────────╮ ╭──────────┬──────────┬──────────┬──────────┬──────────╮ //│ ESCAPE │ MUTE │ VOL DOWN │ VOL UP │ │ │ │ HOME │ UP │ END │ │ - &kp ESC &kp C_MUTE &kp VOL_DN &kp VOL_UP &none &none &kp HOME &kp UP &kp END &one + &kp ESC &kp C_MUTE &kp VOL_DN &kp VOL_UP &none &none &kp HOME &kp UP &kp END &none //├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤ //│ SHIFT │ CMD │ ALT │ CTRL │ TAB │ │ BACKSPACE│ LEFT │ ENTER │ RIGHT │ DEL │ &sk LSHFT &sk LCMD &sk LALT &sk LCTRL &kp TAB &kp BSPC &kp LEFT &kp ENTER &kp RIGHT &kp DEL From 3b6efcf7a3c04b9349d5b3768ebeae4ed32f6f7d Mon Sep 17 00:00:00 2001 From: babariviere <12128029+babariviere@users.noreply.github.com> Date: Sun, 22 Jun 2025 07:28:15 +0000 Subject: [PATCH 5/6] keymap-drawer render --- keymap-drawer/cradio.svg | 1 - keymap-drawer/cradio.yaml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/keymap-drawer/cradio.svg b/keymap-drawer/cradio.svg index 84b9361..adaec38 100644 --- a/keymap-drawer/cradio.svg +++ b/keymap-drawer/cradio.svg @@ -658,7 +658,6 @@ rect.held, rect.combo.held { -&one diff --git a/keymap-drawer/cradio.yaml b/keymap-drawer/cradio.yaml index ccdf2f6..98501f5 100644 --- a/keymap-drawer/cradio.yaml +++ b/keymap-drawer/cradio.yaml @@ -80,7 +80,7 @@ layers: - HOME - $$mdi:arrow-up$$ - END - - '&one' + - '' - {t: '$$mdi:apple-keyboard-shift$$', h: '$$mdi:circle-small$$'} - {t: '$$mdi:apple-keyboard-command$$', h: '$$mdi:circle-small$$'} - {t: '$$mdi:apple-keyboard-option$$', h: '$$mdi:circle-small$$'} From a882a2697a2065bea0fc059b037a05d16f303a04 Mon Sep 17 00:00:00 2001 From: Bastien Riviere Date: Sun, 22 Jun 2025 09:45:21 +0200 Subject: [PATCH 6/6] feat: mise setup --- .gitignore | 6 ++++++ mise.toml | 17 +++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 mise.toml diff --git a/.gitignore b/.gitignore index b91777e..36f8930 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,8 @@ /.direnv /result + +/modules +/zephyr +/zmk +/zmk-helpers +/.west diff --git a/mise.toml b/mise.toml new file mode 100644 index 0000000..f514c5a --- /dev/null +++ b/mise.toml @@ -0,0 +1,17 @@ +[tools] +cmake = "latest" +pipx = "latest" +"pipx:west" = "latest" +python = "latest" + +[tasks.setup] +run = [ + "west init -l app/ --mf {{config_root}}/config/west.yml", + "west update", + "west zephyr-export" +] + +[tasks.build] +# Not working yet... +run = "west build -b nice_nano_v2 -- -DZMK_CONFIG=\"{{config_root}}/config\"" +dir = "zmk/app"