diff options
author | jack <[email protected]> | 2023-01-06 16:54:38 -0700 |
---|---|---|
committer | jack <[email protected]> | 2023-01-06 16:54:38 -0700 |
commit | 8581e9b41f1b403176fe3874f6cbb30b3acee6e5 (patch) | |
tree | ca72f6cfab038a3e8ed01c57e1ebb64dd08a58b9 | |
parent | 736812340fbb675f582747308ae347c382ada023 (diff) | |
download | zmk_build-8581e9b41f1b403176fe3874f6cbb30b3acee6e5.tar.gz zmk_build-8581e9b41f1b403176fe3874f6cbb30b3acee6e5.zip |
misc
-rwxr-xr-x | build.sh | 4 | ||||
-rw-r--r-- | config/corne.keymap | 8 | ||||
-rw-r--r-- | util.h | 4 |
3 files changed, 9 insertions, 7 deletions
@@ -39,7 +39,8 @@ do "revxlp") echo "building revxlp firmware..." cp config/corne.keymap revxlp/revxlp.keymap - if ! [ -L $LINK]; then + cp util.h ${ZMK_DIR}/app/boards/shields + if [ ! -L $LINK ]; then ln -s ~/waffle_git/zmk-build/revxlp $LINK fi (cd ${ZMK_DIR}/app @@ -47,6 +48,7 @@ do cp ${ZMK_DIR}/app/build/zephyr/zmk.uf2 ~/revxlp.uf2 ) rm revxlp/revxlp.keymap + rm ${ZMK_DIR}/app/boards/shields/util.h echo "complete :^)" break ;; diff --git a/config/corne.keymap b/config/corne.keymap index 70f34c8..7afad1d 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -66,10 +66,10 @@ bindings = <&kp C_PLAY>, <&kp C_NEXT>, <&kp C_PREV>; }; - TAP_DANCE(bsls_pipe, &kp BSLH, &kp PIPE, #) - TAP_DANCE(quot_dquo, &kp SQT, &kp DQT, #) - TAP_DANCE(cbrkt, &kp LBRC, &kp RBRC, #) - TAP_DANCE(brkt, &kp LBKT, &kp RBKT, #) + TAP_DANCE(bsls_pipe, &kp BSLH, &kp PIPE) + TAP_DANCE(quot_dquo, &kp SQT, &kp DQT) + TAP_DANCE(cbrkt, &kp LBRC, &kp RBRC) + TAP_DANCE(brkt, &kp LBKT, &kp RBKT) }; macros { @@ -9,11 +9,11 @@ combo_##name { \ key-positions = <keypos>; \ }; -#define TAP_DANCE(name, keypress1, keypress2, hash) \ +#define TAP_DANCE(name, keypress1, keypress2) \ td_##name: name { \ compatible = "zmk,behavior-tap-dance"; \ label = "name"; \ - hash##binding-cells = <0>; \ + #binding-cells = <0>; \ tapping-term-ms = <200>; \ bindings = <keypress1>, <keypress2>; \ }; |