summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorNick Van Doorn <nick@nv.delivery>2021-10-05 23:17:47 -0700
committerNick Van Doorn <nick@nv.delivery>2022-02-08 15:23:32 -0800
commite573bb2312f7e95b7c5873ed721f79f72ac718ba (patch)
treed121c083d2f7ab43a92181a6a2b26d52ea4b94da /app
parentcfd0d3d81af858dc08fb72f26b31a59a0938b51f (diff)
Add my stuffHEADmaster
Yeah!
Diffstat (limited to 'app')
-rw-r--r--app/boards/shields/corne/corne.conf2
-rw-r--r--app/boards/shields/corne/corne.keymap43
-rw-r--r--app/boards/shields/corne/corne_left.conf1
-rw-r--r--app/boards/shields/corne/corne_right.conf2
4 files changed, 19 insertions, 29 deletions
diff --git a/app/boards/shields/corne/corne.conf b/app/boards/shields/corne/corne.conf
index 974243c..0dcaf05 100644
--- a/app/boards/shields/corne/corne.conf
+++ b/app/boards/shields/corne/corne.conf
@@ -3,4 +3,4 @@
# CONFIG_WS2812_STRIP=y
# Uncomment the following line to enable the Corne OLED Display
-# CONFIG_ZMK_DISPLAY=y
+CONFIG_ZMK_DISPLAY=y
diff --git a/app/boards/shields/corne/corne.keymap b/app/boards/shields/corne/corne.keymap
index 53218a8..61da4fd 100644
--- a/app/boards/shields/corne/corne.keymap
+++ b/app/boards/shields/corne/corne.keymap
@@ -7,49 +7,36 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
+#include <dt-bindings/zmk/outputs.h>
+#include <dt-bindings/zmk/ext_power.h>
/ {
keymap {
compatible = "zmk,keymap";
default_layer {
-// -----------------------------------------------------------------------------------------
-// | TAB | Q | W | E | R | T | | Y | U | I | O | P | BKSP |
-// | CTRL | A | S | D | F | G | | H | J | K | L | ; | ' |
-// | SHFT | Z | X | C | V | B | | N | M | , | . | / | ESC |
-// | GUI | LWR | SPC | | ENT | RSE | ALT |
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 LCTRL &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
- &kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp ESC
- &kp LGUI &mo 1 &kp SPACE &kp RET &mo 2 &kp RALT
+ &kp ESC &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
+ &kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RALT
+ &kp LCTRL &mo 2 &kp SPACE &kp RET &mo 1 &kp RGUI
>;
};
- lower_layer {
-// -----------------------------------------------------------------------------------------
-// | TAB | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BKSP |
-// | BTCLR| BT1 | BT2 | BT3 | BT4 | BT5 | | LFT | DWN | UP | RGT | | |
-// | SHFT | | | | | | | | | | | | |
-// | GUI | | SPC | | ENT | | ALT |
+ raise_layer {
bindings = <
- &kp TAB &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC
- &bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans
- &kp LSHFT &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
- &kp LGUI &trans &kp SPACE &kp RET &trans &kp RALT
+ &kp DOWN &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp UP
+ &trans &trans &trans &trans &trans &trans &kp TILDE &kp MINUS &kp EQUAL &kp LBKT &kp RBKT &trans
+ &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
+ &trans &trans &trans &trans &trans &trans
>;
};
- raise_layer {
-// -----------------------------------------------------------------------------------------
-// | TAB | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BKSP |
-// | CTRL | | | | | | | - | = | [ | ] | \ | ` |
-// | SHFT | | | | | | | _ | + | { | } | "|" | ~ |
-// | GUI | | SPC | | ENT | | ALT |
+ lower_layer {
bindings = <
- &kp TAB &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp KP_MULTIPLY &kp LPAR &kp RPAR &kp BSPC
- &kp LCTRL &trans &trans &trans &trans &trans &kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH &kp GRAVE
- &kp LSHFT &trans &trans &trans &trans &trans &kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE &kp TILDE
- &kp LGUI &trans &kp SPACE &kp RET &trans &kp RALT
+ &kp LEFT &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp KP_MULTIPLY &kp LPAR &kp RPAR &kp RIGHT
+ &out OUT_TOG &ext_power EP_OFF &ext_power EP_ON &trans &trans &trans &kp GRAVE &kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE
+ &bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &trans &kp BACKSLASH &trans
+ &trans &trans &trans &trans &trans &trans
>;
};
};
diff --git a/app/boards/shields/corne/corne_left.conf b/app/boards/shields/corne/corne_left.conf
index e69de29..a0d1b7d 100644
--- a/app/boards/shields/corne/corne_left.conf
+++ b/app/boards/shields/corne/corne_left.conf
@@ -0,0 +1 @@
+CONFIG_ZMK_DISPLAY=y
diff --git a/app/boards/shields/corne/corne_right.conf b/app/boards/shields/corne/corne_right.conf
index e69de29..afd66ef 100644
--- a/app/boards/shields/corne/corne_right.conf
+++ b/app/boards/shields/corne/corne_right.conf
@@ -0,0 +1,2 @@
+CONFIG_ZMK_DISPLAY=y
+