aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjack <[email protected]>2022-08-26 18:52:08 -0600
committerjack <[email protected]>2022-08-26 18:52:08 -0600
commit99a4cdffc859a37674a1c75f8f3e514bf2d3dfea (patch)
treef3b413793eb9f53e1273e43a9a56583656e8e63f
parent231798c211a3a66d3a40e47002e2dabc62c6d81e (diff)
downloadzmk_build-99a4cdffc859a37674a1c75f8f3e514bf2d3dfea.tar.gz
zmk_build-99a4cdffc859a37674a1c75f8f3e514bf2d3dfea.zip
remove zen keymap -- same as normal corne
-rwxr-xr-xbuild.sh2
-rw-r--r--config/corne-ish_zen.keymap68
2 files changed, 2 insertions, 68 deletions
diff --git a/build.sh b/build.sh
index 8995312..7b46797 100755
--- a/build.sh
+++ b/build.sh
@@ -50,6 +50,7 @@ do
"corne-ish zen")
echo "building corne-ish zen firmware..."
test_uf2
+ cp config/corne.keymap config/corne-ish_zen.keymap
(cd ${ZMK_DIR}
if [[ $(git branch --show-current) = "main" ]]; then
git checkout ${ZEN_BRANCH}
@@ -61,6 +62,7 @@ do
west build -p -b corne-ish_zen_right -- -DZMK_CONFIG="${CONFIG_DIR}"
cp ${ZMK_DIR}/app/build/zephyr/zmk.uf2 ~/corne-ish_zen_right.uf2
)
+ rm config/corne-ish_zen.keymap
break
;;
"quit")
diff --git a/config/corne-ish_zen.keymap b/config/corne-ish_zen.keymap
deleted file mode 100644
index 3062351..0000000
--- a/config/corne-ish_zen.keymap
+++ /dev/null
@@ -1,68 +0,0 @@
-// Copyright 2022 jack (@waffle87)
-// SPDX-License-Identifier: MIT
-
-#include <behaviors.dtsi>
-#include <dt-bindings/zmk/keys.h>
-#include <dt-bindings/zmk/bt.h>
-#include "util.h"
-
-/ {
- keymap {
- compatible = "zmk,keymap";
- base {
- bindings = <
- &trans &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &trans
- &trans HRML(A, S, D, F) &kp G &kp H HRMR(J, K, L, SEMI) &trans
- &trans &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &trans
- &trans &mo 1 &kp SPACE &kp BSPC &mo 2 &kp RC(RS(V))
- >;
- };
- num {
- bindings = <
- &trans &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans
- &trans HRML(EXCL, AT, HASH, DLLR) &kp PRCNT &kp CARET HRMR(AMPS, ASTRK, LPAR, RPAR) &trans
- &trans &kp ESC &kp TAB &kp CAPS &kp TILDE &kp GRAVE &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans
- &trans &trans &trans &kp C_VOL_UP &trans &trans
- >;
- };
- sym {
- bindings = <
- &trans &bootloader &bt BT_NXT &trans &trans &trans &kp C_PREV &kp C_PLAY &kp C_NEXT &trans &trans &trans
- &trans &bt BT_CLR &bt BT_PRV &trans &trans &trans &trans &trans &trans &trans &trans &trans
- &trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &trans
- &trans &trans &kp C_VOL_DN &trans &trans &trans
- >;
- };
- };
-
- behaviors {
- hm: homerow_mods {
- compatible = "zmk,behavior-hold-tap";
- label = "HOMEROW_MODS";
- #binding-cells = <2>;
- tapping-term-ms = <150>;
- quick_tap_ms = <0>;
- flavor = "tap-preferred";
- bindings = <&kp>, <&kp>;
- };
- };
-
- combos {
- compatible = "zmk,combos";
- COMBO(ENTR, &kp RET, 4 7)
- COMBO(QUOT, &kp SQT, 17 18)
- COMBO(DQUO, &kp DQT, 27 32)
- COMBO(LBRC, &kp LBRC, 3 4)
- COMBO(RBRC, &kp RBRC, 4 5)
- COMBO(LBKT, &kp LBKT, 6 7)
- COMBO(RBKT, &kp RBKT, 7 8)
- COMBO(BKSL, &kp BSLH, 3 8)
- COMBO(COLN, &kp COLON, 5 6)
- COMBO(PLUS, &kp PLUS, 14 21)
- COMBO(QUES, &kp QMARK, 28 31)
- COMBO(UNDS, &kp UNDER, 29 30)
- COMBO(MINS, &kp MINUS, 2 9)
- COMBO(EQAL, &kp EQUAL, 15 20)
- COMBO(CAPW, &caps_word, 16 19)
- };
-};