Skip to content

Commit

Permalink
Adding bootloader combos to both sides.
Browse files Browse the repository at this point in the history
  • Loading branch information
amacleod committed Jun 14, 2024
1 parent d5e8f3c commit 8f3a3c6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions config/lily58.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,18 @@ combos {
key-positions = <50 42>;
bindings = <&slx KEEBCTL>;
};
combo_reset_left {
timeout-ms = <50>;
key-positions = <29 41 42>;
bindings = <&bootloader>;
layers = <KEEBCTL>;
};
combo_reset_right {
timeout-ms = <50>;
key-positions = <30 43 44>;
bindings = <&bootloader>;
layers = <KEEBCTL>;
};
};

behaviors {
Expand All @@ -67,6 +79,18 @@ behaviors {
};
};

conditional_layers {
compatible = "zmk,conditional-layers";
numeric_momentary {
if-layers = <NUMTEMP>;
then-layer = <NUMPAD>;
};
numeric_lock {
if-layers = <NUMLOCK>;
then-layer = <NUMPAD>;
};
};

keymap {
compatible = "zmk,keymap";

Expand Down Expand Up @@ -233,6 +257,7 @@ SC_LEFT &kp Z &kp X &kp C &kp V &kp B &kp LBKT &kp RBKT &kp N &kp
&trans &kp F9 &kp F10 &kp F11 &kp F12 &kp DEL &trans &trans &kp KP_N0 &kp KP_N1 &kp KP_N2 &kp KP_N3 &kp KP_ENTER &trans
&trans &trans &trans &trans &kp KP_N0 &trans &trans &kp KP_DOT
>;
display-name = "NumPad";
};

num_temp_layer {
Expand All @@ -244,6 +269,7 @@ SC_LEFT &kp Z &kp X &kp C &kp V &kp B &kp LBKT &kp RBKT &kp N &kp
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans
>;
display-name = "NumPad";
};

num_lock_layer {
Expand All @@ -255,6 +281,7 @@ SC_LEFT &kp Z &kp X &kp C &kp V &kp B &kp LBKT &kp RBKT &kp N &kp
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans
>;
display-name = "NumLOCK";
};

keyboard_control_layer {
Expand Down

0 comments on commit 8f3a3c6

Please sign in to comment.