Move BT_CLR to a key that isn't usually shift

This commit is contained in:
Daniel Flanagan 2021-12-02 08:27:19 -06:00
parent 666257fa64
commit a844e1b793
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
3 changed files with 18 additions and 6 deletions

View file

@ -3,9 +3,9 @@
ZMK_DOCKER_IMAGE="${ZMK_DOCKER_IMAGE:-zmkfirmware/zmk-build-arm:2.5}"
docker run -it --rm \
-v (pwd)/.cache:/zofle \
-v (pwd)/config:/zofle/config:ro \
-v (pwd)/build:/build \
-v ${PWD}/.cache:/zofle \
-v ${PWD}/config:/zofle/config:ro \
-v ${PWD}/build:/build \
"$ZMK_DOCKER_IMAGE" sh -c 'cd /zofle
west init -l config
west update

View file

@ -51,6 +51,18 @@
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_DN PG_UP >;
};
// gamer_layer {
// bindings = <
// &kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC
// &kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
// &mt 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 C_MUTE &kp K_PP &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RET
// &kp LALT &kp LGUI &kp SPACE &mo L_L &kp LSHFT &kp RET &mo L_R &kp SPACE &kp RALT &kp RSHFT
// >;
// sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_DN PG_UP >;
// };
lower_layer {
bindings = <
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
@ -77,10 +89,10 @@
combo_layer {
bindings = <
&bootloader &trans &trans &trans &trans &out OUT_TOG &trans &trans &trans &trans &trans &bootloader
&bootloader &trans &trans &trans &bt BT_CLR &out OUT_TOG &trans &trans &trans &trans &trans &bootloader
&reset &trans &trans &trans &trans &out OUT_BLE &kp C_PREV &kp C_VOL_DN &kp K_PP &kp C_VOL_UP &kp C_NEXT &reset
&ext_power EP_TOG &ext_power EP_ON &trans &trans &trans &out OUT_USB &kp LEFT &kp DOWN &kp UP &kp RIGHT &ext_power EP_ON &ext_power EP_TOG
&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 &kp HOME &kp PGDN &kp PGUP &kp END &trans &trans
&trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &kp HOME &kp PGDN &kp PGUP &kp END &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
>;

View file

@ -1,6 +1,6 @@
.PHONY: build sleep
build:
@fish build.bash
@bash build.bash
flash-left:
@sudo fish flash.fish ./build/sofle_left_nice_nano.uf2