From 7cb8e2993d15d10328102aed1fa519278fd8b6b8 Mon Sep 17 00:00:00 2001 From: nikodem Date: Thu, 30 Nov 2023 13:49:03 +0100 Subject: [PATCH 1/8] chording layout v1 --- config/cradio.keymap | 97 ++++++++++++++++++++------------------------ 1 file changed, 45 insertions(+), 52 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 29d989e..ad931cd 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -7,29 +7,11 @@ combos { compatible = "zmk,combos"; - tog_qwerty { - bindings = <&tog 5>; - key-positions = <10 14>; + exit_gaming { + bindings = <&tog 7>; + key-positions = <4 24 14>; require-prior-idle-ms = <2000>; - layers = <0 5>; - }; - - tog_navigation { - bindings = <&tog 3>; - key-positions = <16 17>; - require-prior-idle-ms = <500>; - }; - - tog_numpad { - bindings = <&tog 4>; - key-positions = <17 18>; - require-prior-idle-ms = <500>; - }; - - tog_gaming { - bindings = <&tog 6>; - key-positions = <4 0>; - require-prior-idle-ms = <500>; + layers = <7>; }; }; @@ -38,43 +20,54 @@ dvorak { bindings = < -&kp SEMI &kp COMMA &kp DOT &kp P &kp Y &kp F &kp G &kp C &kp R &kp L -&mt LEFT_ALT A &mt LEFT_SHIFT O &mt LEFT_CONTROL E &mt LEFT_META U &kp I &kp D &mt RIGHT_META H &mt RIGHT_CONTROL T &mt RIGHT_SHIFT N &mt RIGHT_ALT S -&kp SQT &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &kp Z - &kp ESCAPE &kp TAB < 1 SPACE &kp ENTER +&key_repeat &kp ENTER &kp BACKSPACE &kp P &kp Y &kp F &kp G &kp C &kp R &kp L +&kp A &kp O &kp E &kp U &kp I &kp D &kp H &kp T &kp N &kp S +&kp SQT &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &kp Z + &sl 1 &kp TAB &kp SPACE &sl 2 >; label = "dvorak"; }; + modifiers { + bindings = < +&none &none &tog 5 &tog 4 &none &none &none &none &none &none +&kp LALT &kp LGUI &kp LSHFT &kp LCTRL &kp RALT &none &none &none &none &none +&none &to 6 &to 7 &to 0 &none &none &none &none &none &none + &none &none &none &none + >; + + label = "modifiers"; + }; + symbols { bindings = < -&kp N7 &kp N5 &kp N3 &kp N1 &kp N9 &kp N0 &kp N2 &kp N4 &kp N6 &kp N8 -&kp LBKT &kp LEFT_BRACE &kp RBRC &kp LPAR &kp EQUAL &kp STAR &kp RPAR &kp PLUS &kp RIGHT_BRACE &kp EXCL -&kp DLLR &kp AMPS &kp BSLH &kp PLUS &kp AT &kp HASH &kp MINUS &kp FSLH &kp UNDERSCORE &kp CARET - &kp BACKSPACE &kp DELETE &trans &trans +&kp N7 &kp N5 &kp N3 &kp N1 &kp N9 &kp N0 &kp N2 &kp N4 &kp N6 &kp N8 +&kp LESS_THAN &kp LBKT &kp LEFT_BRACE &kp LPAR &kp CARET &kp PERCENT &kp APOS &kp DOT &kp SEMICOLON &kp ASTERISK +&kp GREATER_THAN &kp RBKT &kp RIGHT_BRACE &kp RIGHT_PARENTHESIS &kp DOLLAR &kp AT &kp DOUBLE_QUOTES &kp COMMA &kp COLON &kp SLASH + &none &none &none &sl 3 >; label = "symbols"; }; - symbols_alt { + symbols_ext { bindings = < -&kp N7 &kp N5 &kp N3 &kp N1 &kp N9 &kp N0 &kp N2 &kp N4 &kp N6 &kp N8 -&kp LBKT &kp LEFT_BRACE &kp RBRC &kp LPAR &kp EQUAL &kp STAR &kp RPAR &kp PLUS &kp RIGHT_BRACE &kp EXCL -&kp DLLR &kp AMPS &kp BSLH &kp PLUS &kp AT &kp HASH &kp MINUS &kp FSLH &kp UNDERSCORE &kp CARET - &trans &trans &trans &trans +&none &none &none &none &none &none &none &none &none &none +&none &kp AMPERSAND &kp UNDERSCORE &kp QUESTION &kp GRAVE &kp HASH &kp EQUAL &kp PLUS &kp ASTERISK &none +&none &kp PIPE &kp TILDE &kp EXCLAMATION &kp BACKSLASH &none &kp PERCENT &kp MINUS &kp SLASH &none + &none &none &none &none >; - label = "symbols"; + label = "symbols_ext"; }; navigation { bindings = < -&kp F1 &kp F2 &kp F3 &kp F4 &kp PRINTSCREEN &none &kp K_COPY &kp K_PASTE &kp K_CUT &none -&kp F5 &kp F6 &kp F7 &kp F8 &kp SCROLLLOCK &kp TAB &kp LEFT &kp DOWN &kp UP &kp RIGHT -&kp F9 &kp F10 &kp F11 &kp F12 &kp C_PAUSE &none &kp HOME &kp PAGE_DOWN &kp PAGE_UP &kp END - &trans &trans &trans &trans +&kp F1 &kp F2 &kp F3 &kp F4 &kp PRINTSCREEN &kp BACKSPACE &kp K_COPY &kp K_PASTE &kp K_CUT &kp DELETE +&kp F5 &kp F6 &kp F7 &kp F8 &kp SCROLLLOCK &kp TAB &kp LEFT &kp DOWN &kp UP &kp RIGHT +&kp F9 &kp F10 &kp F11 &kp F12 &kp C_PAUSE &kp INSERT &kp HOME &kp PAGE_DOWN &kp PAGE_UP &kp END + &tog 4 &trans &trans &trans >; label = "navigation"; @@ -82,10 +75,10 @@ numpad { bindings = < -&ext_power EP_TOG &kp K_MUTE &kp C_VOLUME_DOWN &kp C_VOLUME_UP &bt BT_CLR &kp FSLH &kp N7 &kp N8 &kp N9 &kp MINUS -&kp K_PREVIOUS &kp K_NEXT &kp K_PLAY_PAUSE &kp K_STOP &none &kp STAR &kp N4 &kp N5 &kp N6 &kp PLUS -&bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &kp COMMA &kp N1 &kp N2 &kp N3 &kp DOT - &trans &trans < 1 SPACE &trans +&sys_reset &kp K_MUTE &kp C_VOLUME_DOWN &kp C_VOLUME_UP &bt BT_CLR &kp FSLH &kp N7 &kp N8 &kp N9 &kp MINUS +&kp K_PREVIOUS &kp K_NEXT &kp K_PLAY_PAUSE &kp K_STOP &ext_power EP_TOG &kp STAR &kp N4 &kp N5 &kp N6 &kp PLUS +&bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &kp COMMA &kp N1 &kp N2 &kp N3 &kp DOT + &tog 5 &trans &trans &trans >; label = "numpad"; @@ -93,19 +86,19 @@ qwerty { bindings = < -&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P -&mt LEFT_META A &mt LEFT_SHIFT S &mt LEFT_CONTROL D &mt LEFT_ALT F &kp G &kp H &mt RIGHT_ALT J &mt RIGHT_CONTROL K &mt RIGHT_SHIFT L &mt RIGHT_META SEMI -&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH - &kp ESCAPE &kp TAB < 1 SPACE &kp ENTER +&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P +&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI +&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH + &sl 1 &kp TAB &kp SPACE &sl 2 >; }; gaming { bindings = < -&kp ESC &kp Q &kp W &kp E &kp R &trans &trans &trans &trans &trans -&kp LSHFT &kp A &kp S &kp D &kp F &trans &trans &trans &trans &trans -&kp LCTRL &kp Z &kp X &kp C &kp V &trans &trans &trans &trans &trans - &kp LALT &kp SPACE &trans &trans +&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O +&kp LSHFT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L +&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp P &kp FSLH + &kp LALT &kp SPACE &none &to 0 >; label = "gaming"; From 8ac062d8f2511b0563d7e2dc40607351e11fb438 Mon Sep 17 00:00:00 2001 From: nikodem Date: Thu, 30 Nov 2023 14:16:50 +0100 Subject: [PATCH 2/8] oops --- config/cradio.keymap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index ad931cd..2a6051a 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -32,9 +32,9 @@ modifiers { bindings = < &none &none &tog 5 &tog 4 &none &none &none &none &none &none -&kp LALT &kp LGUI &kp LSHFT &kp LCTRL &kp RALT &none &none &none &none &none +&sk LALT &sk LGUI &sk LSHFT &sk LCTRL &sk RALT &none &none &none &none &none &none &to 6 &to 7 &to 0 &none &none &none &none &none &none - &none &none &none &none + &kp ESCAPE &none &none &none >; label = "modifiers"; From 320f910475b00f103366cbcc9ecd01d9d2467341 Mon Sep 17 00:00:00 2001 From: nikodem Date: Fri, 1 Dec 2023 21:30:20 +0000 Subject: [PATCH 3/8] many macros n stuff --- config/cradio.keymap | 136 ++++++++++++++++++++++++++++++++++++++----- 1 file changed, 120 insertions(+), 16 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 2a6051a..688aedc 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -13,6 +13,99 @@ require-prior-idle-ms = <2000>; layers = <7>; }; + + ctrl_shift { + bindings = <&ctrl_shift>; + key-positions = <13 12>; + layers = <1>; + }; + + ctrl_alt { + bindings = <&crl_alt>; + key-positions = <10 13>; + layers = <1>; + }; + + ctrl_gui { + bindings = <&ctrl_gui>; + key-positions = <13 11>; + layers = <1>; + }; + + shift_alt { + bindings = <&shift_alt>; + key-positions = <12 10>; + layers = <1>; + }; + + shift_gui { + bindings = <&shift_gui>; + key-positions = <12 11>; + layers = <1>; + }; + + alt_gui { + bindings = <&alt_gui>; + key-positions = <10 11>; + layers = <1>; + }; + + ctrl_shift_alt { + bindings = <&ctrl_shift_alt>; + key-positions = <13 12 10>; + layers = <1>; + }; + }; + + macros { + ctrl_shift: ctrl_shift { + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + bindings = <&sk LEFT_CONTROL &sk LEFT_SHIFT>; + label = "CTRL_SHIFT"; + }; + + crl_alt: crl_alt { + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + bindings = <&sk LEFT_CONTROL &sk LEFT_ALT>; + label = "CRL_ALT"; + }; + + ctrl_gui: ctrl_gui { + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + bindings = <&sk LEFT_CONTROL &sk LEFT_GUI>; + label = "CTRL_GUI"; + }; + + shift_alt: shift_alt { + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + bindings = <&sk LEFT_SHIFT &sk LEFT_ALT>; + label = "SHIFT_ALT"; + }; + + shift_gui: shift_gui { + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + bindings = <&sk LEFT_SHIFT &sk LEFT_GUI>; + label = "SHIFT_GUI"; + }; + + alt_gui: alt_gui { + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + bindings = <&sk LEFT_ALT &sk LEFT_GUI>; + label = "ALT_GUI"; + }; + + ctrl_shift_alt: ctrl_shift_alt { + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + bindings = <&sk LEFT_CONTROL &sk LEFT_SHIFT &sk LEFT_ALT>; + label = "CTRL_SHIFT_ALT"; + }; }; keymap { @@ -20,10 +113,10 @@ dvorak { bindings = < -&key_repeat &kp ENTER &kp BACKSPACE &kp P &kp Y &kp F &kp G &kp C &kp R &kp L -&kp A &kp O &kp E &kp U &kp I &kp D &kp H &kp T &kp N &kp S -&kp SQT &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &kp Z - &sl 1 &kp TAB &kp SPACE &sl 2 +&kp TAB &kp ENTER &kp BACKSPACE &kp P &kp Y &kp F &kp G &kp C &kp R &kp L +&kp A &kp O &kp E &kp U &kp I &kp D &kp H &kp T &kp N &kp S +&key_repeat &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &kp Z + &sl 1 &kp ESCAPE &kp SPACE &sl 2 >; label = "dvorak"; @@ -31,10 +124,10 @@ modifiers { bindings = < -&none &none &tog 5 &tog 4 &none &none &none &none &none &none -&sk LALT &sk LGUI &sk LSHFT &sk LCTRL &sk RALT &none &none &none &none &none -&none &to 6 &to 7 &to 0 &none &none &none &none &none &none - &kp ESCAPE &none &none &none +&none &none &tog 5 &tog 4 &tog 8 &none &none &none &none &none +&sk LEFT_ALT &sk LEFT_GUI &sk LEFT_SHIFT &sk LEFT_CONTROL &sk RIGHT_ALT &none &none &none &none &none +&none &to 6 &to 7 &to 0 &none &none &none &none &none &none + &none &none &none &none >; label = "modifiers"; @@ -75,10 +168,10 @@ numpad { bindings = < -&sys_reset &kp K_MUTE &kp C_VOLUME_DOWN &kp C_VOLUME_UP &bt BT_CLR &kp FSLH &kp N7 &kp N8 &kp N9 &kp MINUS -&kp K_PREVIOUS &kp K_NEXT &kp K_PLAY_PAUSE &kp K_STOP &ext_power EP_TOG &kp STAR &kp N4 &kp N5 &kp N6 &kp PLUS -&bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &kp COMMA &kp N1 &kp N2 &kp N3 &kp DOT - &tog 5 &trans &trans &trans +&kp TAB &kp ENTER &kp BACKSPACE &none &none &kp FSLH &kp N7 &kp N8 &kp N9 &kp MINUS +&none &none &none &kp EQUAL &kp KP_NUMLOCK &kp STAR &kp N4 &kp N5 &kp N6 &kp PLUS +&none &none &none &none &none &kp COMMA &kp N1 &kp N2 &kp N3 &kp DOT + &tog 5 &kp ESCAPE &kp SPACE &kp N0 >; label = "numpad"; @@ -95,13 +188,24 @@ gaming { bindings = < -&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O -&kp LSHFT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L -&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp P &kp FSLH - &kp LALT &kp SPACE &none &to 0 +&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O +&kp LSHFT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L +&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp P &kp FSLH + &kp LALT &kp SPACE &kp SPACE &to 0 >; label = "gaming"; }; + + special { + bindings = < +&none &kp K_MUTE &kp C_VOLUME_DOWN &kp C_VOLUME_UP &none &bootloader &sys_reset &none &ext_power EP_TOG &bt BT_CLR +&kp K_STOP &kp K_PREVIOUS &kp K_PLAY_PAUSE &kp K_NEXT &none &none &none &none &none &none +&none &none &none &none &none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 + &tog 8 &trans &trans &trans + >; + + label = "special"; + }; }; }; From 47f44a19860ab9f4f99666d678e8e1c36473b43c Mon Sep 17 00:00:00 2001 From: nikodem Date: Sat, 2 Dec 2023 11:48:22 +0000 Subject: [PATCH 4/8] test ctrl_shift --- config/cradio.keymap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 688aedc..d53f9a5 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -126,7 +126,7 @@ bindings = < &none &none &tog 5 &tog 4 &tog 8 &none &none &none &none &none &sk LEFT_ALT &sk LEFT_GUI &sk LEFT_SHIFT &sk LEFT_CONTROL &sk RIGHT_ALT &none &none &none &none &none -&none &to 6 &to 7 &to 0 &none &none &none &none &none &none +&none &to 6 &to 7 &to 0 &ctrl_shift &none &none &none &none &none &none &none &none &none >; From 8204071bd007a400f070feeba98aeedfa6a4e113 Mon Sep 17 00:00:00 2001 From: nikodem Date: Sat, 2 Dec 2023 12:21:57 +0000 Subject: [PATCH 5/8] reset and bootloader per half, and update script --- config/cradio.keymap | 10 +++++----- update.sh | 13 +++++++++++++ 2 files changed, 18 insertions(+), 5 deletions(-) create mode 100755 update.sh diff --git a/config/cradio.keymap b/config/cradio.keymap index d53f9a5..8ac5c99 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -126,7 +126,7 @@ bindings = < &none &none &tog 5 &tog 4 &tog 8 &none &none &none &none &none &sk LEFT_ALT &sk LEFT_GUI &sk LEFT_SHIFT &sk LEFT_CONTROL &sk RIGHT_ALT &none &none &none &none &none -&none &to 6 &to 7 &to 0 &ctrl_shift &none &none &none &none &none +&none &to 6 &to 7 &to 0 &none &none &none &none &none &none &none &none &none &none >; @@ -199,10 +199,10 @@ special { bindings = < -&none &kp K_MUTE &kp C_VOLUME_DOWN &kp C_VOLUME_UP &none &bootloader &sys_reset &none &ext_power EP_TOG &bt BT_CLR -&kp K_STOP &kp K_PREVIOUS &kp K_PLAY_PAUSE &kp K_NEXT &none &none &none &none &none &none -&none &none &none &none &none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 - &tog 8 &trans &trans &trans +&none &kp K_MUTE &kp C_VOLUME_DOWN &kp C_VOLUME_UP &bootloader &bootloader &none &none &ext_power EP_TOG &bt BT_CLR +&kp K_STOP &kp K_PREVIOUS &kp K_PLAY_PAUSE &kp K_NEXT &sys_reset &sys_reset &none &none &none &none +&none &none &none &none &none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 + &tog 8 &trans &trans &trans >; label = "special"; diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..c37607f --- /dev/null +++ b/update.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +unzip -o -q .tmp/firmware.zip -d .tmp/ + +mkdir .tmp/nicenano/ +sudo mount /dev/sda .tmp/nicenano/ + +sudo rm -f .tmp/nicenano/CURRENT.UF2 +sudo cp $(find .tmp -name *left*) .tmp/nicenano/CURRENT.UF2 + +sudo umount .tmp/nicenano/ + +rm -rf .tmp/* From 08e70c945ca9a879c3cb4948a2750e1531ba2331 Mon Sep 17 00:00:00 2001 From: nikodem Date: Mon, 4 Dec 2023 10:34:01 +0000 Subject: [PATCH 6/8] capslock and gaming layer switch to numpad --- config/cradio.keymap | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 8ac5c99..ba66aa5 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -2,6 +2,7 @@ #include #include #include +#include / { combos { @@ -124,10 +125,10 @@ modifiers { bindings = < -&none &none &tog 5 &tog 4 &tog 8 &none &none &none &none &none -&sk LEFT_ALT &sk LEFT_GUI &sk LEFT_SHIFT &sk LEFT_CONTROL &sk RIGHT_ALT &none &none &none &none &none -&none &to 6 &to 7 &to 0 &none &none &none &none &none &none - &none &none &none &none +&none &none &tog 5 &tog 4 &tog 8 &none &none &none &none &none +&sk LEFT_ALT &sk LEFT_GUI &sk LEFT_SHIFT &sk LEFT_CONTROL &sk RIGHT_ALT &none &none &none &none &none +&none &to 6 &to 7 &to 0 &kt LEFT_SHIFT &none &none &none &none &none + &none &none &none &none >; label = "modifiers"; @@ -168,10 +169,10 @@ numpad { bindings = < -&kp TAB &kp ENTER &kp BACKSPACE &none &none &kp FSLH &kp N7 &kp N8 &kp N9 &kp MINUS -&none &none &none &kp EQUAL &kp KP_NUMLOCK &kp STAR &kp N4 &kp N5 &kp N6 &kp PLUS -&none &none &none &none &none &kp COMMA &kp N1 &kp N2 &kp N3 &kp DOT - &tog 5 &kp ESCAPE &kp SPACE &kp N0 +&kp TAB &kp ENTER &kp BACKSPACE &none &none &kp FSLH &kp NUMBER_7 &kp NUMBER_8 &kp NUMBER_9 &kp MINUS +&none &none &none &kp EQUAL &kp KP_NUMLOCK &kp STAR &kp NUMBER_4 &kp NUMBER_5 &kp NUMBER_6 &kp PLUS +&none &none &none &none &none &kp COMMA &kp NUMBER_1 &kp NUMBER_2 &kp NUMBER_3 &kp DOT + &tog 5 &kp ESCAPE &kp SPACE &kp NUMBER_0 >; label = "numpad"; @@ -188,10 +189,10 @@ gaming { bindings = < -&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O -&kp LSHFT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L -&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp P &kp FSLH - &kp LALT &kp SPACE &kp SPACE &to 0 +&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O +&kp LSHFT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L +&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp P &kp FSLH + &kp LALT &kp SPACE &tog 5 &to 0 >; label = "gaming"; @@ -199,10 +200,10 @@ special { bindings = < -&none &kp K_MUTE &kp C_VOLUME_DOWN &kp C_VOLUME_UP &bootloader &bootloader &none &none &ext_power EP_TOG &bt BT_CLR -&kp K_STOP &kp K_PREVIOUS &kp K_PLAY_PAUSE &kp K_NEXT &sys_reset &sys_reset &none &none &none &none -&none &none &none &none &none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 - &tog 8 &trans &trans &trans +&none &kp K_MUTE &kp C_VOLUME_DOWN &kp C_VOLUME_UP &bootloader &bootloader &none &none &ext_power EP_TOG &bt BT_CLR +&kp K_STOP &kp K_PREVIOUS &kp K_PLAY_PAUSE &kp K_NEXT &sys_reset &sys_reset &none &none &none &none +&none &none &none &none &none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 + &tog 8 &trans &trans &trans >; label = "special"; From 55be1544c3d5239550b5ee1e648fe969a5e27a2c Mon Sep 17 00:00:00 2001 From: nikodem Date: Mon, 4 Dec 2023 12:22:42 +0100 Subject: [PATCH 7/8] better update script and gitignore --- .gitignore | 1 + update.sh | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d36977d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.tmp diff --git a/update.sh b/update.sh index c37607f..35ad472 100755 --- a/update.sh +++ b/update.sh @@ -1,6 +1,10 @@ #!/bin/sh -unzip -o -q .tmp/firmware.zip -d .tmp/ +echo "put the nice!nano into bootloader, flashing in 5 seconds..." +sleep 5 +echo "flashing..." + +unzip -o -q $(find .tmp -name *.zip) -d .tmp/ mkdir .tmp/nicenano/ sudo mount /dev/sda .tmp/nicenano/ From 52a15958c799ddae161b3038770c2e079b8b79ee Mon Sep 17 00:00:00 2001 From: nikodem Date: Mon, 4 Dec 2023 14:25:30 +0100 Subject: [PATCH 8/8] enter on nav layer and sticky nav and num layer --- config/cradio.keymap | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index ba66aa5..4c7d71b 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -2,7 +2,6 @@ #include #include #include -#include / { combos { @@ -125,10 +124,10 @@ modifiers { bindings = < -&none &none &tog 5 &tog 4 &tog 8 &none &none &none &none &none -&sk LEFT_ALT &sk LEFT_GUI &sk LEFT_SHIFT &sk LEFT_CONTROL &sk RIGHT_ALT &none &none &none &none &none -&none &to 6 &to 7 &to 0 &kt LEFT_SHIFT &none &none &none &none &none - &none &none &none &none +&none &none &tog 5 &tog 4 &tog 8 &sl 8 &to 6 &to 0 &none &none +&sk LEFT_ALT &sk LEFT_GUI &sk LEFT_SHIFT &sk LEFT_CONTROL &sk RIGHT_ALT &none &kt LEFT_SHIFT &sl 4 &sl 5 &none +&none &none &none &none &to 7 &none &none &none &none &none + &none &none &none &none >; label = "modifiers"; @@ -160,7 +159,7 @@ bindings = < &kp F1 &kp F2 &kp F3 &kp F4 &kp PRINTSCREEN &kp BACKSPACE &kp K_COPY &kp K_PASTE &kp K_CUT &kp DELETE &kp F5 &kp F6 &kp F7 &kp F8 &kp SCROLLLOCK &kp TAB &kp LEFT &kp DOWN &kp UP &kp RIGHT -&kp F9 &kp F10 &kp F11 &kp F12 &kp C_PAUSE &kp INSERT &kp HOME &kp PAGE_DOWN &kp PAGE_UP &kp END +&kp F9 &kp F10 &kp F11 &kp F12 &kp C_PAUSE &kp ENTER &kp HOME &kp PAGE_DOWN &kp PAGE_UP &kp END &tog 4 &trans &trans &trans >;