Skip to content

Commit 0560117

Browse files
committed
Add GAME layer
1 parent 0656f2a commit 0560117

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

config/eyelash_sofle.keymap

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#define NUM_LAYER 3
1919
#define MOUSE_LAYER 4
2020
#define BOOOO_LAYER 5
21+
#define GAME_LAYER 6
2122

2223
// --- Includes ---
2324
#include <input/processors.dtsi>
@@ -182,6 +183,7 @@ ZMK_UNICODE_PAIR(pt_o_tilde, N0, N0, F, N5, N0, N0, D, N5)
182183
compatible = "zmk,combos";
183184
MouseLayerToggle { bindings = <&tog MOUSE_LAYER>; key-positions = <44 46>; timeout-ms = <50>; };
184185
CopyCutCombo { bindings = <COPY_CUT_DANCE>; key-positions = <41 42>; timeout-ms = <50>; };
186+
GameLayerToggle { bindings = <&tog GAME_LAYER>; key-positions = <4 2>; timeout-ms = <50>; };
185187
};
186188

187189
keymap {
@@ -269,5 +271,19 @@ ZMK_UNICODE_PAIR(pt_o_tilde, N0, N0, F, N5, N0, N0, D, N5)
269271
>;
270272
sensor-bindings = <&scroll_encoder>;
271273
};
274+
275+
layer_6 {
276+
display-name = "GAME";
277+
bindings = <
278+
&trans &trans &trans &trans &trans &trans &mmv MOVE_UP &trans &trans &trans &trans &trans &trans
279+
&trans &trans &trans &trans &trans &trans &mmv MOVE_DOWN &trans &trans &trans &trans &trans &trans
280+
&trans &kp A &kp S &kp D &kp F &trans &mmv MOVE_LEFT &trans &trans &trans &trans &trans &trans
281+
&trans &trans &trans &trans &trans &trans &mmv MOVE_RIGHT &trans &trans &trans &trans &trans &trans
282+
/* Thumbs (52-63) */
283+
&trans &trans &kp LCTRL &kp LSHFT &trans &trans
284+
&mkp LCLK &trans &mkp RCLK &kp LALT &kp LGUI &trans
285+
>;
286+
sensor-bindings = <&scroll_encoder>;
287+
};
272288
};
273289
};

0 commit comments

Comments
 (0)