Update various keymaps
This commit is contained in:
parent
7e17b82b81
commit
3942dca15e
|
@ -29,8 +29,6 @@ rm foo
|
|||
|
||||
``` sh
|
||||
|
||||
west build --board nice_nano -d build/m60 -- -DSHIELD=m60 -DZMK_CONFIG=/workspaces/zmk-config/zmk-config/config
|
||||
|
||||
west build --board nice_nano -d build/tidbit -- -DSHIELD=tidbit -DZMK_CONFIG=/workspaces/zmk-config/zmk-config/config
|
||||
|
||||
west build --board nice_nano -d build/nibble -- -DSHIELD=nibble -DZMK_CONFIG=/workspaces/zmk-config/zmk-config/config
|
||||
|
@ -41,6 +39,8 @@ west build --board nrf52840_mdk_dongle -d build/pockettype/central -- -DSHIELD=p
|
|||
|
||||
west build --board nice_nano -d build/pockettype/peripheral -- -DSHIELD=pockettype_peripheral -DZMK_CONFIG=/workspaces/zmk-config/zmk-config/config
|
||||
|
||||
west build --board nice_nano -d build/m60 -- -DSHIELD=m60 -DZMK_CONFIG=/workspaces/zmk-config/zmk-config/config
|
||||
|
||||
west build --board nice_nano -d build/tg4x -- -DSHIELD=tg4x -DZMK_CONFIG=/workspaces/zmk-config/zmk-config/config
|
||||
|
||||
west build --board nice_nano -d build/lily58/left -- -DSHIELD=lily58_left -DZMK_CONFIG=/workspaces/zmk-config/zmk-config/config
|
||||
|
|
|
@ -18,6 +18,23 @@
|
|||
flavor = "balanced";
|
||||
bindings = <&bootloader>, <&reset>;
|
||||
};
|
||||
|
||||
tildeesc: tilde_escape {
|
||||
compatible = "zmk,behavior-mod-morph";
|
||||
label = "TILDE_ESCAPE";
|
||||
#binding-cells = <0>;
|
||||
bindings = <&kp ESC>, <&kp TILDE>;
|
||||
mods = <(MOD_LSFT)>;
|
||||
};
|
||||
|
||||
ht: hold_tap {
|
||||
compatible = "zmk,behavior-hold-tap";
|
||||
label = "HOLD_TAP";
|
||||
#binding-cells = <2>;
|
||||
tapping_term_ms = <150>;
|
||||
flavor = "tap-preferred";
|
||||
bindings = <&kp>, <&kp>;
|
||||
};
|
||||
};
|
||||
|
||||
keymap {
|
||||
|
@ -26,9 +43,9 @@
|
|||
default_layer {
|
||||
bindings = <
|
||||
&rst B R
|
||||
&kp ESCAPE &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
|
||||
&kp TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp ENTER
|
||||
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SQT &kp RSHFT
|
||||
&tildeesc &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &ht MINUS O &ht EQUAL P &kp BSPC
|
||||
&kp TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &ht APOS SEMI &ht BSLH RET
|
||||
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &ht LBKT COMMA &ht RBKT DOT &kp FSLH &mt RSHFT FSLH
|
||||
&kp LCTRL &kp LGUI &kp LALT &kp CAPS &mo 1 &kp DEL &kp SPACE &mo 2 &kp LEFT &kp DOWN &kp UP &kp RIGHT
|
||||
>;
|
||||
};
|
||||
|
@ -36,10 +53,10 @@
|
|||
lower_layer {
|
||||
bindings = <
|
||||
&none
|
||||
&kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS &kp EQUAL
|
||||
&kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &kp SLASH &kp BSLH
|
||||
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp DEL
|
||||
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &kp PIPE &kp LBKT &kp RBKT
|
||||
&kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &none &none
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
>;
|
||||
};
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT &kp RBKT &kp BSLH
|
||||
&mo 2 &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT &kp RET
|
||||
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
|
||||
&kp LCTRL &kp LGUI &kp LALT &kp SPACE &kp RALT &mo 1 &kp RGUI &kp RCTRL
|
||||
&kp LCTRL &kp LGUI &kp LALT &kp SPACE &mo 1 &kp RCTRL &kp RGUI &kp RALT
|
||||
>;
|
||||
};
|
||||
|
||||
|
|
|
@ -14,11 +14,19 @@
|
|||
|
||||
/ {
|
||||
behaviors {
|
||||
tildeesc: tilde_escape {
|
||||
compatible = "zmk,behavior-mod-morph";
|
||||
label = "TILDE_ESCAPE";
|
||||
#binding-cells = <0>;
|
||||
bindings = <&kp ESC>, <&kp TILDE>;
|
||||
mods = <(MOD_LSFT)>;
|
||||
};
|
||||
|
||||
ht: hold_tap {
|
||||
compatible = "zmk,behavior-hold-tap";
|
||||
label = "Hold Tap";
|
||||
label = "HOLD_TAP";
|
||||
#binding-cells = <2>;
|
||||
tapping_term_ms = <200>;
|
||||
tapping_term_ms = <150>;
|
||||
flavor = "tap-preferred";
|
||||
bindings = <&kp>, <&kp>;
|
||||
};
|
||||
|
@ -29,10 +37,10 @@
|
|||
|
||||
default_layer {
|
||||
bindings = <
|
||||
&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &none &kp BSPC
|
||||
&ht CAPS TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp RET
|
||||
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp RSHFT
|
||||
&kp LCTRL &kp LGUI &kp LALT &mo 2 &kp SPACE &mo 1 &kp RALT &kp RGUI &kp RCTRL
|
||||
&tildeesc &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &ht MINUS O &ht EQUAL P &none &kp BSPC
|
||||
&kp TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &ht APOS SEMI &ht BSLH RET
|
||||
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &ht LBKT COMMA &ht RBKT DOT &mt RSHFT FSLH
|
||||
&kp LCTRL &kp LGUI &kp LALT &mo 2 &kp SPACE &mo 1 &kp RCTL &kp RALT &kp RGUI
|
||||
>;
|
||||
};
|
||||
|
||||
|
@ -40,17 +48,17 @@
|
|||
bindings = <
|
||||
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &none &kp DEL
|
||||
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
|
||||
&none &trans &trans &trans &trans &trans &kp MINUS &kp EQUAL &kp BSLH &kp FSLH &kp APOS
|
||||
&trans &trans &trans &trans &trans &trans &kp PIPE &kp LBKT &kp RBKT
|
||||
&none &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
>;
|
||||
};
|
||||
|
||||
other_layer {
|
||||
bindings = <
|
||||
&trans &trans &kp PG_UP &kp UP &kp PG_DN &trans &trans &trans &trans &trans &trans &none &kp C_PLAY_PAUSE
|
||||
&trans &trans &kp PG_UP &kp UP &kp PG_DN &trans &trans &trans &trans &trans &trans &none &kp DEL
|
||||
&trans &trans &kp LEFT &kp DOWN &kp RIGHT &trans &trans &trans &trans &trans &trans &kp INSERT
|
||||
&none &trans &kp HOME &trans &kp END &trans &trans &trans &bootloader &reset &kp PSCRN
|
||||
&bt BT_CLR &bt BT_NXT &bt BT_PRV &trans &trans &trans &kp C_VOL_UP &kp C_VOL_DN &kp C_MUTE
|
||||
&bt BT_CLR &bt BT_NXT &bt BT_PRV &trans &trans &kp C_PLAY_PAUSE &kp C_VOL_UP &kp C_VOL_DN &kp C_MUTE
|
||||
>;
|
||||
};
|
||||
|
||||
|
|
|
@ -12,10 +12,10 @@ CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=600000
|
|||
CONFIG_ZMK_IDLE_TIMEOUT=15000
|
||||
|
||||
# Save settings after 3s instaed of 60s
|
||||
#CONFIG_ZMK_SETTINGS_SAVE_DEBOUNCE=3000
|
||||
CONFIG_ZMK_SETTINGS_SAVE_DEBOUNCE=3000
|
||||
|
||||
# Add debug logging
|
||||
CONFIG_ZMK_USB_LOGGING=y
|
||||
#CONFIG_ZMK_USB_LOGGING=y
|
||||
|
||||
# Set default underglow values
|
||||
CONFIG_ZMK_RGB_UNDERGLOW_HUE_START=215
|
||||
|
|
Loading…
Reference in a new issue