Skip to content

Commit

Permalink
BT_DISC didn't change anything
Browse files Browse the repository at this point in the history
Still getting spurious wakeups of inactive devices.
  • Loading branch information
matthewtodd committed Jan 19, 2025
1 parent 518463e commit 53b1aca
Showing 1 changed file with 1 addition and 47 deletions.
48 changes: 1 addition & 47 deletions config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -53,52 +53,6 @@
};
};

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

bt1: bluetooth_select_only_1 {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&macro_tap &bt BT_SEL 1>
, <&macro_tap &bt BT_DISC 0>
, <&macro_tap &bt BT_DISC 2>
, <&macro_tap &bt BT_DISC 3>
;
};

bt2: bluetooth_select_only_2 {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&macro_tap &bt BT_SEL 2>
, <&macro_tap &bt BT_DISC 0>
, <&macro_tap &bt BT_DISC 1>
, <&macro_tap &bt BT_DISC 3>
;
};

bt3: bluetooth_select_only_3 {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&macro_tap &bt BT_SEL 3>
, <&macro_tap &bt BT_DISC 0>
, <&macro_tap &bt BT_DISC 1>
, <&macro_tap &bt BT_DISC 2>
;
};
};

combos {
compatible = "zmk,combos";
thumbs_default_left {
Expand Down Expand Up @@ -173,7 +127,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 &bt0 &bt1 &bt2 &bt3
&none &none &none &none &none &none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3
//╰──────────┴──────────┴──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┴──────────┴──────────╯
// | | | | | |
&none &none &kp C_MUTE &kp C_PP
Expand Down

0 comments on commit 53b1aca

Please sign in to comment.