Skip to content

Commit

Permalink
Try disconnecting other bt profiles
Browse files Browse the repository at this point in the history
I have this weird thing happening where typing at my work laptop
occasionally wakes my home computer, and vice-versa. I'm hoping
disconnecting like this is what I need, suspecting that perhaps Linux is
better supported than macOS here?
  • Loading branch information
matthewtodd committed Dec 27, 2024
1 parent 1ac3a61 commit 07d84a5
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,22 @@
};
};

macros {
bt_sel: bluetooth_select_only {
compatible = "zmk,behavior-macro";
#binding-cells = <1>;
bindings
= <&macro_param_1to1>
, <&macro_tap &bt BT_SEL MACRO_PLACEHOLDER>
, <&macro_tap &bt BT_DISC 0>
, <&macro_tap &bt BT_DISC 1>
, <&macro_tap &bt BT_DISC 2>
, <&macro_tap &bt BT_DISC 3>
, <&macro_tap &bt BT_DISC 4>
;
};
};

combos {
compatible = "zmk,combos";
thumbs_default_left {
Expand Down Expand Up @@ -253,7 +269,7 @@
&kp LCTRL &kp LALT &kp LGUI &kp LSHFT &none &none &kp C_PREV &kp C_VOL_DN &kp C_VOL_UP &kp C_NEXT
//├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤
//│ │ │ │ │ │ │ │ │ │ │ │
&none &none &none &none &none &none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3
&none &none &none &none &none &none &bt_sel 0 &bt_sel 1 &bt_sel 2 &bt_sel 3
//╰──────────┴──────────┴──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┴──────────┴──────────╯
// | | | | | |
&none &none &kp C_MUTE &kp C_PP
Expand Down

0 comments on commit 07d84a5

Please sign in to comment.