Skip to content

Commit

Permalink
Try some macros to control other bluetooth devices
Browse files Browse the repository at this point in the history
  • Loading branch information
keymap-editor[bot] authored Mar 6, 2024
1 parent 05c3465 commit 4ad253d
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion config/helix.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,29 @@
#include <dt-bindings/zmk/keys.h>

/ {
macros {
NBT_PP: NBT_PP {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&bt BT_NXT &kp C_PLAY_PAUSE &bt BT_PRV>;
label = "NBT_PP";
};

NBT_PRV: NBT_PRV {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&bt BT_NXT &kp K_FORWARD &bt BT_PRV>;
label = "NBT_PRV";
};

NBT_FWD: NBT_FWD {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&bt BT_NXT &kp K_FORWARD &bt BT_PRV>;
label = "NBT_FWD";
};
};

keymap {
compatible = "zmk,keymap";

Expand All @@ -24,7 +47,17 @@
&trans &trans &trans &bt BT_PRV &trans &bt BT_NXT &trans &trans &trans &trans &trans &trans
&caps_word &trans &kp C_BRIGHTNESS_INC &kp C_PREVIOUS &kp C_PLAY_PAUSE &kp C_NEXT &kp LEFT_ARROW &kp DOWN &kp UP_ARROW &kp RIGHT &trans &trans
&trans &trans &kp C_BRIGHTNESS_DEC &kp C_VOLUME_DOWN &kp K_MUTE &kp C_VOLUME_UP &kp LG(LC(LA(LS(F6)))) &trans &trans &trans &trans &trans &trans &trans
&trans &trans &kp LC(LG(SPACE)) &trans &trans &trans &trans &kp LC(LA(LG(C))) &trans &trans &trans &trans &trans &kp LA(LC(LG(SPACE)))
&trans &trans &kp LC(LG(SPACE)) &trans &trans &trans &mo 2 &kp LC(LA(LG(C))) &trans &trans &trans &trans &trans &kp LA(LC(LG(SPACE)))
>;
};

layer_2 {
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &NBT_PP &NBT_PP &NBT_FWD &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
>;
};
};
Expand Down

0 comments on commit 4ad253d

Please sign in to comment.