add sys layer
This commit is contained in:
parent
2ab08dc774
commit
3769fd827f
1 changed files with 27 additions and 1 deletions
|
|
@ -13,6 +13,7 @@
|
||||||
#define UPP_L 2
|
#define UPP_L 2
|
||||||
#define SYM_L 3
|
#define SYM_L 3
|
||||||
#define NUM_L 4
|
#define NUM_L 4
|
||||||
|
#define SYS_L 5
|
||||||
|
|
||||||
/* Behavior Settings */
|
/* Behavior Settings */
|
||||||
&caps_word {
|
&caps_word {
|
||||||
|
|
@ -81,6 +82,16 @@
|
||||||
, <¯o_pause_for_release>
|
, <¯o_pause_for_release>
|
||||||
, <¯o_release &mo SYM_L>;)
|
, <¯o_release &mo SYM_L>;)
|
||||||
|
|
||||||
|
|
||||||
|
ZMK_MACRO(mo_sys,
|
||||||
|
wait-ms = <0>;
|
||||||
|
tap-ms = <0>;
|
||||||
|
bindings
|
||||||
|
= <¯o_tap &kp K_CANCEL>
|
||||||
|
, <¯o_press &mo SYS_L>
|
||||||
|
, <¯o_pause_for_release>
|
||||||
|
, <¯o_release &mo SYS_L>;)
|
||||||
|
|
||||||
combos {
|
combos {
|
||||||
compatible = "zmk,combos";
|
compatible = "zmk,combos";
|
||||||
|
|
||||||
|
|
@ -122,10 +133,12 @@
|
||||||
COMBO(esc, &kp ESC, 2 3, DEF_L)
|
COMBO(esc, &kp ESC, 2 3, DEF_L)
|
||||||
COMBO(ent, &kp ENTER, 17 18, DEF_L)
|
COMBO(ent, &kp ENTER, 17 18, DEF_L)
|
||||||
COMBO(del, &kp DEL, 15 16, DEF_L)
|
COMBO(del, &kp DEL, 15 16, DEF_L)
|
||||||
COMBO(tab, &kp TAB, 13 14, DEF_L)
|
COMBO(tab, &kp TAB, 12 13, DEF_L)
|
||||||
COMBO(select_all, &kp LC(A), 20 21, NAV_L)
|
COMBO(select_all, &kp LC(A), 20 21, NAV_L)
|
||||||
COMBO(tmux_prefix, &kp LC(A), 23 25, DEF_L)
|
COMBO(tmux_prefix, &kp LC(A), 23 25, DEF_L)
|
||||||
|
|
||||||
|
COMBO(sys_l, &mo_sys, 26 27, NUM_L)
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
conditional_layers {
|
conditional_layers {
|
||||||
|
|
@ -203,5 +216,18 @@
|
||||||
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯
|
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sys_layer {
|
||||||
|
label = "Sys";
|
||||||
|
bindings = <
|
||||||
|
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
|
||||||
|
&none &none &none &none &none &none &none &none &none &none
|
||||||
|
&none &none &none &none &none &none &none &none &none &none
|
||||||
|
&reset &none &bootloader &none &none &none
|
||||||
|
// ╰─────────────┴─────────────┴─────────────╮ ╭─────────────┴─────────────┴─────────────╯
|
||||||
|
&none &none &none &none
|
||||||
|
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯
|
||||||
|
>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue