summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorkeymap-editor[bot] <91849743+keymap-editor[bot]@users.noreply.github.com>2023-07-24 14:35:22 +0000
committerGitHub <noreply@github.com>2023-07-24 14:35:22 +0000
commite4092ca166256697df031e558017db47a761327b (patch)
treed5cbb9b9b23f3e98eeb10c0346d5adf59d97b84c
parent0816efc8ef2e737892ff5b3c238234c8ad8ed602 (diff)
downloadzmk-config-e4092ca166256697df031e558017db47a761327b.tar.gz
zmk-config-e4092ca166256697df031e558017db47a761327b.zip
remove button layer, small keymap changes
-rw-r--r--config/totem.keymap222
1 files changed, 96 insertions, 126 deletions
diff --git a/config/totem.keymap b/config/totem.keymap
index 506f06a..20f73ed 100644
--- a/config/totem.keymap
+++ b/config/totem.keymap
@@ -9,129 +9,99 @@
 //                                                                      ▀  ▀  ▀

 //

 // ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄

-

-#include <behaviors.dtsi>

-#include <dt-bindings/zmk/bt.h>

-#include <dt-bindings/zmk/ext_power.h>

-#include <dt-bindings/zmk/keys.h>

-

-#define Base        0

-#define Media       1

-#define Nav         2

-#define Mouse       3

-#define Sym         4

-#define Num         5

-#define Fun         6

-#define Button      7

-#define Game        8

-#define Gameplus    9

-

-&mt {

-    quick-tap-ms = <100>;

-    global-quick-tap;

-    flavor = "tap-preferred";

-    tapping-term-ms = <170>;

-};

-

-&lt {

-    tapping-term-ms = <240>;

-    flavor = "balanced";

-    quick-tap-ms = <150>;

-};

-

-/ {

-    behaviors {

-        hm: homerow_mods {

-            compatible = "zmk,behavior-hold-tap";

-            label = "HOMEROW_MODS";

-            #binding-cells = <2>;

-            flavor = "tap-preferred";

-            tapping-term-ms = <200>;

-            quick-tap-ms = <125>;

-            global-quick-tap;

-            bindings =

-                <&kp>,

-                <&kp>;

-        };

-    };

-

-    combos {

-        compatible = "zmk,combos";

-    };

-

-    keymap {

-        compatible = "zmk,keymap";

-

-        Base {

-            label = "Base";

-            bindings = <

-                   &kp Q       &kp W          &kp E         &kp R      &kp T    &kp Y        &kp U        &kp I       &kp O               &kp P

-              &hm LGUI A  &hm LALT S    &hm LCTRL D  &hm LSHIFT F      &kp G    &kp H  &hm RSHFT J  &hm RCTRL K  &hm RALT L  &hm RGUI SEMICOLON

-&lt 3 ESCAPE       &kp Z       &kp X          &kp C         &kp V      &kp B    &kp N        &kp M    &kp COMMA     &kp DOT           &kp SLASH  &lt 4 APOSTROPHE

-                                      &mt LCTRL DEL     &lt 1 TAB  &kp SPACE  &kp RET   &lt 2 BSPC    &kp MINUS

-            >;

-        };

-

-        Nav {

-            label = "Nav";

-            bindings = <

-                      &trans       &trans  &kp UP_ARROW     &trans  &kp LBRC  &kp RBRC  &kp NUMBER_7  &kp NUMBER_8  &kp NUMBER_9         &kp PLUS

-              &kp LEFT_SHIFT     &kp LEFT      &kp DOWN  &kp RIGHT  &kp LBKT  &kp RBKT  &kp NUMBER_4  &kp NUMBER_5  &kp NUMBER_6        &kp MINUS

-&kp LEFT_ALT          &trans  &kp PAGE_UP        &trans  &kp PG_DN  &kp LPAR  &kp RPAR  &kp NUMBER_1  &kp NUMBER_2  &kp NUMBER_3  &kp KP_MULTIPLY  &trans

-                                                 &trans     &trans    &trans    &trans        &trans  &kp NUMBER_0

-            >;

-        };

-

-        Sym {

-            label = "Sym";

-            bindings = <

-        &kp EXCL  &kp AT  &kp HASH  &kp DOLLAR  &kp PERCENT  &kp CARET  &kp AMPERSAND  &kp KP_ASTERISK  &kp SQT    &kp DQT

-          &trans  &trans    &trans      &trans       &trans     &trans         &trans           &trans   &trans     &trans

-&trans    &trans  &trans    &trans      &trans       &trans  &kp UNDER      &kp EQUAL           &trans   &trans  &kp SLASH  &kp HOME

-                            &trans      &trans       &trans     &trans         &trans           &trans

-            >;

-        };

-

-        Fun {

-            label = "Fun";

-            bindings = <

-        &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans   &kp F1

-        &trans  &trans  &trans  &trans   &to 5  &trans  &trans  &trans  &trans  &kp F10

-&trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &kp F20  &trans

-                        &trans  &trans  &trans  &trans  &trans  &trans

-            >;

-        };

-

-        Button {

-            label = "Button";

-            bindings = <

-                    &bt BT_CLR    &trans     &trans      &trans  &bt BT_SEL 0      &trans            &trans      &trans  &bootloader    &trans

-                      &kp LGUI  &kp LALT  &kp LCTRL  &kp LSHIFT  &bt BT_SEL 1      &trans        &kp RSHIFT   &kp RCTRL     &kp RALT  &kp RGUI

-&bootloader  &ext_power EP_TOG    &trans     &trans      &trans  &bt BT_SEL 2      &trans            &trans      &trans       &trans    &trans  &trans

-                                             &trans      &trans        &trans  &kp C_PREV  &kp C_PLAY_PAUSE  &kp C_NEXT

-            >;

-        };

-

-        Gaming {

-            bindings = <

-            &trans  &trans     &trans        &trans  &trans  &trans  &trans  &trans  &trans  &trans

-             &kp A   &kp S      &kp D         &kp F   &mo 6  &trans  &trans  &trans  &trans  &trans

-&kp ESCAPE  &trans  &trans     &trans        &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans

-                            &kp LCTRL  &kp LEFT_ALT  &trans  &trans  &trans  &trans

-            >;

-

-            label = "Gaming";

-        };

-

-        Gaming+ {

-            bindings = <

-         &kp NUMBER_1  &kp NUMBER_2  &kp NUMBER_3  &kp NUMBER_4  &kp NUMBER_5  &trans  &trans  &trans  &trans  &kp LC(RA(DEL))

-                &kp L         &kp O         &kp Y         &kp K         &kp G  &kp F5  &trans  &trans  &trans           &trans

-&kp TAB         &to 0        &trans        &trans  &kp NUMBER_6  &kp NUMBER_7  &trans  &trans  &trans  &trans           &trans  &kp LA(F4)

-                                            &kp J         &kp I         &kp M  &trans  &trans  &trans

-            >;

-

-            label = "Gaming+";

-        };

-    };

-};
\ No newline at end of file
+
+#include <behaviors.dtsi>
+#include <dt-bindings/zmk/keys.h>
+
+#define Base        0
+#define Media       1
+#define Nav         2
+#define Mouse       3
+#define Sym         4
+#define Num         5
+#define Fun         6
+#define Button      7
+#define Game        8
+#define Gameplus    9
+
+&mt {
+    quick-tap-ms = <100>;
+    global-quick-tap;
+    flavor = "tap-preferred";
+    tapping-term-ms = <170>;
+};
+
+&lt {
+    tapping-term-ms = <240>;
+    flavor = "balanced";
+    quick-tap-ms = <150>;
+};
+
+/ {
+    behaviors {
+        hm: homerow_mods {
+            compatible = "zmk,behavior-hold-tap";
+            label = "HOMEROW_MODS";
+            #binding-cells = <2>;
+            flavor = "tap-preferred";
+            tapping-term-ms = <200>;
+            quick-tap-ms = <125>;
+            global-quick-tap;
+            bindings =
+                <&kp>,
+                <&kp>;
+        };
+    };
+
+    combos {
+        compatible = "zmk,combos";
+    };
+
+    keymap {
+        compatible = "zmk,keymap";
+
+        Base {
+            label = "Base";
+            bindings = <
+&kp Q  &kp W  &kp E  &kp R  &kp T  &kp Y  &kp U  &kp I  &kp O  &kp P  &hm LGUI A  &hm LALT S  &hm LCTRL D  &hm LSHIFT F  &kp G  &kp H  &hm RSHFT J  &hm RCTRL K  &hm RALT L  &hm RGUI SEMICOLON  &lt 3 ESCAPE  &kp Z  &kp X  &kp C  &kp V  &kp B  &kp N  &kp M  &kp COMMA  &kp DOT  &kp SLASH  &kp APOSTROPHE  &mt LCTRL DEL  &lt 1 TAB  &kp SPACE  &kp RET  &lt 2 BSPC  &kp MINUS
+            >;
+        };
+
+        Nav {
+            label = "Nav";
+            bindings = <
+&trans  &trans  &kp UP_ARROW  &trans  &kp LBRC  &kp RBRC  &kp NUMBER_7  &kp NUMBER_8  &kp NUMBER_9  &kp NUMBER_0  &kp LEFT_SHIFT  &kp LEFT  &kp DOWN  &kp RIGHT  &kp LBKT  &kp RBKT  &kp NUMBER_4  &kp NUMBER_5  &kp NUMBER_6  &kp MINUS  &kp LEFT_ALT  &kp LEFT_WIN  &kp MINUS  &trans  &kp PLUS  &kp LPAR  &kp RPAR  &kp NUMBER_1  &kp NUMBER_2  &kp NUMBER_3  &kp KP_MULTIPLY  &kp PLUS  &trans  &trans  &trans  &trans  &trans  &kp DOT
+            >;
+        };
+
+        Sym {
+            label = "Sym";
+            bindings = <
+&kp EXCL  &kp AT  &kp HASH  &kp DOLLAR  &kp PERCENT  &kp CARET  &kp AMPERSAND  &kp KP_ASTERISK  &kp SQT  &kp DQT  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &kp UNDER  &kp EQUAL  &trans  &trans  &kp SLASH  &kp HOME  &trans  &trans  &trans  &trans  &trans  &trans
+            >;
+        };
+
+        Fun {
+            label = "Fun";
+            bindings = <
+&trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &kp F1  &trans  &trans  &trans  &trans  &to 4  &trans  &trans  &trans  &trans  &kp F10  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &kp F20  &trans  &trans  &trans  &trans  &trans  &trans  &trans
+            >;
+        };
+
+        Gaming {
+            bindings = <
+&trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &kp A  &kp S  &kp D  &kp F  &mo 5  &trans  &trans  &trans  &trans  &trans  &kp ESCAPE  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &trans  &kp LCTRL  &kp LEFT_ALT  &trans  &trans  &trans  &trans
+            >;
+
+            label = "Gaming";
+        };
+
+        Gaming+ {
+            bindings = <
+&kp NUMBER_1  &kp NUMBER_2  &kp NUMBER_3  &kp NUMBER_4  &kp NUMBER_5  &trans  &trans  &trans  &trans  &kp LC(RA(DEL))  &kp L  &kp O  &kp Y  &kp K  &kp G  &kp F5  &trans  &trans  &trans  &trans  &kp TAB  &to 0  &trans  &trans  &kp NUMBER_6  &kp NUMBER_7  &trans  &trans  &trans  &trans  &trans  &kp LA(F4)  &kp J  &kp I  &kp M  &trans  &trans  &trans
+            >;
+
+            label = "Gaming+";
+        };
+    };
+};