Skip to content

Commit

Permalink
Add gaming layer
Browse files Browse the repository at this point in the history
  • Loading branch information
keymap-editor[bot] authored Feb 9, 2024
1 parent 86d3894 commit 01e6692
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions config/sofle.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
keymap {
compatible = "zmk,keymap";

default_layer {
display-name = "default";
MAIN {
display-name = "MAIN";

// ------------------------------------------------------------------------------------------------------------
// | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | |
Expand All @@ -51,8 +51,8 @@
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
};

lower_layer {
display-name = "lower";
SYMBOLS {
display-name = "SYMBOLS";

// TODO: Some binds are waiting for shifted keycode support.
// ------------------------------------------------------------------------------------------------------------
Expand All @@ -67,14 +67,14 @@
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp NUMBER_6 &kp N7 &kp N8 &kp N9 &kp LEFT_BRACKET &kp RIGHT_BRACKET
&trans &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp KP_EQUAL &kp KP_PLUS &kp KP_MINUS &kp KP_MULTIPLY &kp AMPERSAND &kp PIPE
&trans &kp EQUAL &kp MINUS &kp KP_PLUS &kp LBRC &kp RBRC &trans &trans &kp LBKT &kp RBKT &kp SEMI &kp COLON &kp BSLH &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&to 0 &to 4 &trans &trans &trans &trans &trans &trans &trans &trans
>;

sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
};

raise_layer {
display-name = "raise";
NAVIGATE {
display-name = "NAVIGATE";

// ------------------------------------------------------------------------------------------------------------
// | BTCLR | BT1 | BT2 | BT3 | BT4 | BT5 | | | | | | | |
Expand All @@ -94,7 +94,7 @@
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
};

adjust_layer {
BLTOOTH {
// ----------------------------------------------------------------------------------------------------------------------------
// | BTCLR | BT1 | BT2 | BT3 | BT4 | BT5 | | | | | | | |
// | EXTPWR | RGB_HUD | RGB_HUI | RGB_SAD | RGB_SAI | RGB_EFF | | | | | | | |
Expand All @@ -113,5 +113,15 @@

sensor-bindings = <&inc_dec_kp K_VOLUME_UP C_VOLUME_DOWN>;
};

GAMING {
bindings = <
&trans &trans &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0
&trans &trans &kp Q &kp W &kp E &kp R &trans &trans &trans &trans &trans &trans
&kp LSHFT &kp MINUS &kp A &kp S &kp D &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
>;
};
};
};

0 comments on commit 01e6692

Please sign in to comment.