mirror of
https://github.com/babariviere/zmk-config.git
synced 2025-01-18 02:52:29 +00:00
fix: make bts work
This commit is contained in:
parent
6184249213
commit
91eca50b45
1 changed files with 11 additions and 9 deletions
|
@ -4,6 +4,7 @@
|
||||||
#include <behaviors.dtsi>
|
#include <behaviors.dtsi>
|
||||||
#include <dt-bindings/zmk/keys.h>
|
#include <dt-bindings/zmk/keys.h>
|
||||||
#include <dt-bindings/zmk/bt.h>
|
#include <dt-bindings/zmk/bt.h>
|
||||||
|
#include <dt-bindings/zmk/outputs.h>
|
||||||
|
|
||||||
// Cannot use it with keymap-drawer
|
// Cannot use it with keymap-drawer
|
||||||
/* #include "zmk-helpers/key-labels/34.h" */
|
/* #include "zmk-helpers/key-labels/34.h" */
|
||||||
|
@ -28,16 +29,17 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
macros {
|
macros {
|
||||||
bts: bts {
|
bts: bts {
|
||||||
compatible = "zmk,behavior-macro-one-param";
|
compatible = "zmk,behavior-macro-one-param";
|
||||||
#binding-cells = <1>;
|
#binding-cells = <1>;
|
||||||
bindings
|
bindings
|
||||||
= <&out OUT_BLE>
|
= <&out OUT_BLE>
|
||||||
, <¯o_param_1to2>
|
, <¯o_param_1to2>
|
||||||
, <&bt BT_SEL MACRO_PLACEHOLDER>;
|
, <&bt BT_SEL MACRO_PLACEHOLDER>
|
||||||
|
;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue