summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.github/build.yml (renamed from .github/workflows/build.yml)0
-rw-r--r--config/corne.conf5
-rw-r--r--config/corne.keymap52
-rw-r--r--config/info.json97
4 files changed, 93 insertions, 61 deletions
diff --git a/.github/workflows/build.yml b/.github/build.yml
index d74fb89..d74fb89 100644
--- a/.github/workflows/build.yml
+++ b/.github/build.yml
diff --git a/config/corne.conf b/config/corne.conf
index 0a39f96..4f7eda5 100644
--- a/config/corne.conf
+++ b/config/corne.conf
@@ -5,3 +5,8 @@
 # Uncomment the following line to enable the Corne OLED Display
 CONFIG_ZMK_DISPLAY=y
 CONFIG_ZMK_EXT_POWER=y
+CONFIG_ZMK_SLEEP=y
+CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=3600000
+CONFIG_ZMK_WIDGET_WPM_STATUS=n
+CONFIG_ZMK_BATTERY_REPORT_INTERVAL=600
+CONFIG_ZMK_WIDGET_BATTERY_STATUS_SHOW_PERCENTAGE=y
diff --git a/config/corne.keymap b/config/corne.keymap
index 9442f25..4a571e2 100644
--- a/config/corne.keymap
+++ b/config/corne.keymap
@@ -1,15 +1,19 @@
-/*
+qq/*
  * Copyright (c) 2020 The ZMK Contributors
  *
  * SPDX-License-Identifier: MIT
  */
 
 #include <behaviors.dtsi>
+qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq#include <dt-bindings/zmk/bt.h>
+#include <dt-bindings/zmk/keys.h>
 #include <dt-bindings/zmk/keys.h>
-#include <dt-bindings/zmk/bt.h>
 #include <dt-bindings/zmk/outputs.h>
 
 / {
+    macros {
+    };
+
     keymap {
         compatible = "zmk,keymap";
 
@@ -22,10 +26,10 @@
 
             label = "Base";
             bindings = <
-   &kp TAB   &kp Q   &kp W      &kp E   &kp R      &kp T            &kp Y   &kp U      &kp I    &kp O     &kp P    &kp BSPC
-   &kp ESC   &kp A   &kp S      &kp D   &kp F      &kp G            &kp H   &kp J      &kp K    &kp L  &kp SEMI    &kp APOS
- &kp LSHFT   &kp Z   &kp X      &kp C   &kp V      &kp B            &kp N   &kp M  &kp COMMA  &kp DOT  &kp FSLH  &kp RSHIFT
-                            &kp LCTRL   &mo 1  &kp SPACE          &kp RET   &mo 2   &kp RALT
+  &kp TAB  &kp Q  &kp W      &kp E  &kp R      &kp T      &kp Y  &kp U      &kp I    &kp O     &kp P    &kp BSPC
+  &kp ESC  &kp A  &kp S      &kp D  &kp F      &kp G      &kp H  &kp J      &kp K    &kp L  &kp SEMI    &kp APOS
+&kp LSHFT  &kp Z  &kp X      &kp C  &kp V      &kp B      &kp N  &kp M  &kp COMMA  &kp DOT  &kp FSLH  &kp RSHIFT
+                         &kp LCTRL  &mo 1  &kp SPACE    &kp RET  &mo 2   &kp RALT
             >;
         };
 
@@ -38,10 +42,10 @@
 
             label = "Lower";
             bindings = <
-   &kp TAB  &kp K_PP    &kp UP     &kp N1     &kp N2     &kp N3           &kp N7  &kp N8    &kp N9     &kp N0  &kp HOME      &trans
-  &kp LALT  &kp LEFT  &kp DOWN  &kp RIGHT     &kp N4     &kp N5           &kp N4  &kp N5    &kp N6  &kp RIGHT    &trans     &kp F10
- &kp LSHFT    &trans    &trans     &trans  &kp MINUS   &kp PLUS           &kp N1  &kp N2    &kp N3    &kp DOT    &trans  &kp RSHIFT
-                                 &kp LGUI     &trans  &kp SPACE          &kp RET  &trans  &kp RALT
+      &trans    &trans    &kp UP     &trans     &trans     &trans     &kp N7     &kp N8    &kp N9   &kp N0  &kp HOME   &kp F1
+      &trans  &kp LEFT  &kp DOWN  &kp RIGHT     &trans     &trans     &kp N4     &kp N5    &kp N6   &trans    &trans  &kp F10
+&kp LEFT_ALT    &trans    &trans     &trans  &kp MINUS   &kp PLUS     &kp N1     &kp N2    &kp N3  &kp DOT    &trans  &kp F20
+                                   &kp LGUI     &trans  &kp SPACE    &kp RET  &kp RCTRL  &kp RALT
             >;
         };
 
@@ -54,10 +58,30 @@
 
             label = "Raise";
             bindings = <
- &trans      &kp EXCL      &kp AT    &kp HASH      &kp DLLR  &kp PRCNT          &kp CARET   &kp AMPS  &kp KP_MULTIPLY  &kp LPAR  &kp RPAR    &kp DEL
- &trans    &bt BT_CLR  &bt BT_PRV  &bt BT_NXT  &bt BT_SEL 0      &to 3          &kp UNDER  &kp EQUAL         &kp LBKT  &kp RBKT  &kp BSLH  &kp GRAVE
- &trans  &out OUT_TOG      &trans      &trans        &trans     &trans          &kp MINUS   &kp PLUS         &kp LBRC  &kp RBRC  &kp PIPE  &kp TILDE
-                                     &kp LGUI  &kp LEFT_ALT  &kp SPACE            &kp RET     &trans         &kp RALT
+&trans      &kp EXCL      &kp AT    &kp HASH      &kp DLLR  &kp PRCNT    &kp CARET   &kp AMPS  &kp KP_MULTIPLY  &kp LPAR  &kp RPAR    &kp DEL
+&trans    &bt BT_CLR  &bt BT_PRV  &bt BT_NXT        &trans      &to 3    &kp UNDER  &kp EQUAL         &kp LBKT  &kp RBKT  &kp BSLH  &kp GRAVE
+&trans  &out OUT_TOG      &trans      &trans        &trans     &trans    &kp MINUS   &kp PLUS         &kp LBRC  &kp RBRC  &kp PIPE  &kp TILDE
+                                    &kp LGUI  &kp LEFT_ALT  &kp SPACE      &kp RET     &trans         &kp RALT
+            >;
+        };
+
+        Game {
+            label = "Game";
+            bindings = <
+&trans  &trans  &trans  &trans        &trans  &trans    &trans         &trans  &trans  &trans  &trans  &trans
+&trans  &trans  &trans  &trans        &trans   &sl 4    &trans         &trans  &trans  &trans  &trans  &trans
+&trans  &trans  &trans  &trans        &trans  &trans    &trans         &trans  &trans  &trans  &trans   &to 0
+                        &trans  &kp LEFT_ALT  &trans    &trans  &kp RIGHT_WIN  &trans
+            >;
+        };
+
+        Game_++ {
+            label = "Game ++";
+            bindings = <
+ &kt F5  &kp NUMBER_1  &kp NUMBER_2  &kp NUMBER_3  &kp NUMBER_4  &kp NUMBER_5    &kp LC(RA(Y))  &kp LC(RA(U))  &kp LC(RA(I))  &kp LC(RA(H))  &kp LC(RA(J))  &kp LC(RA(DEL))
+  &to 3         &kp L         &kp O         &kp Y         &kp K         &kp G           &trans         &trans         &trans         &trans         &trans       &kp LA(F4)
+&kp F10         &none         &to 0         &none  &kp NUMBER_6  &kp NUMBER_7           &trans         &trans         &trans         &trans         &trans            &to 0
+                                            &kp J         &kp I         &kp M           &trans         &trans         &trans
             >;
         };
     };
diff --git a/config/info.json b/config/info.json
index 551c6bb..8e60647 100644
--- a/config/info.json
+++ b/config/info.json
@@ -1,53 +1,56 @@
 {
+  "id": "corne",
+  "name": "corne",
   "layouts": {
     "LAYOUT": {
       "layout": [
-        { "label": "Tab", "row": 0, "col": 0, "x": 0, "y": 0.5 },
-        { "label": "Q", "row": 0, "col": 1, "x": 1, "y": 0.5 },
-        { "label": "W", "row": 0, "col": 2, "x": 2, "y": 0.2 },
-        { "label": "E", "row": 0, "col": 3, "x": 3, "y": 0 },
-        { "label": "R", "row": 0, "col": 4, "x": 4, "y": 0.25 },
-        { "label": "T", "row": 0, "col": 5, "x": 5, "y": 0.25 },
-        { "label": "Y", "row": 0, "col": 7, "x": 9, "y": 0.25 },
-        { "label": "U", "row": 0, "col": 8, "x": 10, "y": 0.25 },
-        { "label": "I", "row": 0, "col": 9, "x": 11, "y": 0 },
-        { "label": "O", "row": 0, "col": 10, "x": 12, "y": 0.2 },
-        { "label": "P", "row": 0, "col": 11, "x": 13, "y": 0.5 },
-        { "label": "BSPC", "row": 0, "col": 12, "x": 14, "y": 0.5 },
-      
-        { "label": "Ctrl", "row": 1, "col": 0, "x": 0, "y": 1.5 },
-        { "label": "A", "row": 1, "col": 1, "x": 1, "y": 1.5 },
-        { "label": "S", "row": 1, "col": 2, "x": 2, "y": 1.2 },
-        { "label": "D", "row": 1, "col": 3, "x": 3, "y": 1 },
-        { "label": "F", "row": 1, "col": 4, "x": 4, "y": 1.25 },
-        { "label": "G", "row": 1, "col": 5, "x": 5, "y": 1.25 },
-        { "label": "H", "row": 1, "col": 7, "x": 9, "y": 1.25 },
-        { "label": "J", "row": 1, "col": 8, "x": 10, "y": 1.25 },
-        { "label": "K", "row": 1, "col": 9, "x": 11, "y": 1 },
-        { "label": "L", "row": 1, "col": 10, "x": 12, "y": 1.2 },
-        { "label": ";", "row": 1, "col": 11, "x": 13, "y": 1.5 },
-        { "label": "'", "row": 1, "col": 12, "x": 14, "y": 1.5 },
-      
-        { "label": "LShift", "row": 2, "col": 0, "x": 0, "y": 2.5 },
-        { "label": "Z", "row": 2, "col": 1, "x": 1, "y": 2.5 },
-        { "label": "X", "row": 2, "col": 2, "x": 2, "y": 2.2 },
-        { "label": "C", "row": 2, "col": 3, "x": 3, "y": 2 },
-        { "label": "V", "row": 2, "col": 4, "x": 4, "y": 2.25 },
-        { "label": "B", "row": 2, "col": 5, "x": 5, "y": 2.25 },
-        { "label": "N", "row": 2, "col": 7, "x": 9, "y": 2.25 },
-        { "label": "M", "row": 2, "col": 8, "x": 10, "y": 2.25 },
-        { "label": ",", "row": 2, "col": 9, "x": 11, "y": 2 },
-        { "label": ".", "row": 2, "col": 10, "x": 12, "y": 2.2 },
-        { "label": "/", "row": 2, "col": 11, "x": 13, "y": 2.5 },
-        { "label": "Esc", "row": 2, "col": 12, "x": 14, "y": 2.5 },
-      
-        { "label": "GUI", "row": 3, "col": 3, "x": 3.5, "y": 3.25 },
-        { "label": "LWR", "row": 3, "col": 4, "x": 4.5, "y": 3.25, "r": 13, "ry": 4.25 },
-        { "label": "SPC", "row": 3, "col": 5, "x": 5.5, "y": 3.05, "h": 1.5, "r": 26, "ry": 4.6 },
-        { "label": "ENT", "row": 3, "col": 7, "x": 8.5, "y": 3.05, "h": 1.5, "r": -26, "rx": 9.5, "ry": 4.6 },
-        { "label": "RSE", "row": 3, "col": 8, "x": 9.5, "y": 3.25, "r": -13, "rx": 10.5, "ry": 4.25 },
-        { "label": "ALT", "row": 3, "col": 9, "x": 10.5, "y": 3.25 }
+        { "label":    "Tab", "row": 0, "col":  0, "x":    0, "y":  0.5 },
+        { "label":      "Q", "row": 0, "col":  1, "x":    1, "y":  0.5 },
+        { "label":      "W", "row": 0, "col":  2, "x":    2, "y":  0.2 },
+        { "label":      "E", "row": 0, "col":  3, "x":    3, "y":    0 },
+        { "label":      "R", "row": 0, "col":  4, "x":    4, "y": 0.25 },
+        { "label":      "T", "row": 0, "col":  5, "x":    5, "y": 0.25 },
+        { "label":      "Y", "row": 0, "col":  7, "x":    9, "y": 0.25 },
+        { "label":      "U", "row": 0, "col":  8, "x":   10, "y": 0.25 },
+        { "label":      "I", "row": 0, "col":  9, "x":   11, "y":    0 },
+        { "label":      "O", "row": 0, "col": 10, "x":   12, "y":  0.2 },
+        { "label":      "P", "row": 0, "col": 11, "x":   13, "y":  0.5 },
+        { "label":   "BSPC", "row": 0, "col": 12, "x":   14, "y":  0.5 },
+
+        { "label":   "Ctrl", "row": 1, "col":  0, "x":    0, "y":  1.5 },
+        { "label":      "A", "row": 1, "col":  1, "x":    1, "y":  1.5 },
+        { "label":      "S", "row": 1, "col":  2, "x":    2, "y":  1.2 },
+        { "label":      "D", "row": 1, "col":  3, "x":    3, "y":    1 },
+        { "label":      "F", "row": 1, "col":  4, "x":    4, "y": 1.25 },
+        { "label":      "G", "row": 1, "col":  5, "x":    5, "y": 1.25 },
+        { "label":      "H", "row": 1, "col":  7, "x":    9, "y": 1.25 },
+        { "label":      "J", "row": 1, "col":  8, "x":   10, "y": 1.25 },
+        { "label":      "K", "row": 1, "col":  9, "x":   11, "y":    1 },
+        { "label":      "L", "row": 1, "col": 10, "x":   12, "y":  1.2 },
+        { "label":      ";", "row": 1, "col": 11, "x":   13, "y":  1.5 },
+        { "label":      "'", "row": 1, "col": 12, "x":   14, "y":  1.5 },
+
+        { "label": "LShift", "row": 2, "col":  0, "x":    0, "y":  2.5 },
+        { "label":      "Z", "row": 2, "col":  1, "x":    1, "y":  2.5 },
+        { "label":      "X", "row": 2, "col":  2, "x":    2, "y":  2.2 },
+        { "label":      "C", "row": 2, "col":  3, "x":    3, "y":    2 },
+        { "label":      "V", "row": 2, "col":  4, "x":    4, "y": 2.25 },
+        { "label":      "B", "row": 2, "col":  5, "x":    5, "y": 2.25 },
+        { "label":      "N", "row": 2, "col":  7, "x":    9, "y": 2.25 },
+        { "label":      "M", "row": 2, "col":  8, "x":   10, "y": 2.25 },
+        { "label":      ",", "row": 2, "col":  9, "x":   11, "y":    2 },
+        { "label":      ".", "row": 2, "col": 10, "x":   12, "y":  2.2 },
+        { "label":      "/", "row": 2, "col": 11, "x":   13, "y":  2.5 },
+        { "label":    "Esc", "row": 2, "col": 12, "x":   14, "y":  2.5 },
+
+        { "label":    "GUI", "row": 3, "col":  3, "x":  3.5, "y": 3.25 },
+        { "label":    "LWR", "row": 3, "col":  4, "x":  4.5, "y": 3.25, "r":  13, "ry": 4.25 },
+        { "label":    "SPC", "row": 3, "col":  5, "x":  5.5, "y": 3.05, "r":  26, "ry":  4.6, "h": 1.5 },
+        { "label":    "ENT", "row": 3, "col":  7, "x":  8.5, "y": 3.05, "r": -26, "ry":  4.6, "h": 1.5, "rx":  9.5 },
+        { "label":    "RSE", "row": 3, "col":  8, "x":  9.5, "y": 3.25, "r": -13, "ry": 4.25,           "rx": 10.5 },
+        { "label":    "ALT", "row": 3, "col":  9, "x": 10.5, "y": 3.25 }
       ]
     }
-  }
-}
+  },
+  "sensors": []
+}
\ No newline at end of file