refactor: make constant #binding-cells definitions optional

This commit is contained in:
Okke Formsma 2020-11-15 14:41:39 +01:00
parent aa8d0c1c79
commit 62e21db23f
5 changed files with 0 additions and 5 deletions

View file

@ -7,7 +7,6 @@
ht_bal: behavior_hold_tap_balanced { ht_bal: behavior_hold_tap_balanced {
compatible = "zmk,behavior-hold-tap"; compatible = "zmk,behavior-hold-tap";
label = "HOLD_TAP_BALANCED"; label = "HOLD_TAP_BALANCED";
#binding-cells = <2>;
flavor = "balanced"; flavor = "balanced";
tapping_term_ms = <300>; tapping_term_ms = <300>;
bindings = <&kp>, <&kp>; bindings = <&kp>, <&kp>;

View file

@ -7,7 +7,6 @@
ht_bal: behavior_hold_tap_balanced { ht_bal: behavior_hold_tap_balanced {
compatible = "zmk,behavior-hold-tap"; compatible = "zmk,behavior-hold-tap";
label = "HOLD_TAP_BALANCED"; label = "HOLD_TAP_BALANCED";
#binding-cells = <2>;
flavor = "balanced"; flavor = "balanced";
tapping_term_ms = <300>; tapping_term_ms = <300>;
bindings = <&kp>, <&kp>; bindings = <&kp>, <&kp>;

View file

@ -9,7 +9,6 @@
ht_hold: behavior_hold_hold_tap { ht_hold: behavior_hold_hold_tap {
compatible = "zmk,behavior-hold-tap"; compatible = "zmk,behavior-hold-tap";
label = "hold_hold_tap"; label = "hold_hold_tap";
#binding-cells = <2>;
flavor = "hold-preferred"; flavor = "hold-preferred";
tapping_term_ms = <300>; tapping_term_ms = <300>;
bindings = <&kp>, <&kp>; bindings = <&kp>, <&kp>;

View file

@ -7,7 +7,6 @@
tp: behavior_tap_preferred { tp: behavior_tap_preferred {
compatible = "zmk,behavior-hold-tap"; compatible = "zmk,behavior-hold-tap";
label = "MOD_TAP"; label = "MOD_TAP";
#binding-cells = <2>;
flavor = "tap-preferred"; flavor = "tap-preferred";
tapping_term_ms = <300>; tapping_term_ms = <300>;
bindings = <&kp>, <&kp>; bindings = <&kp>, <&kp>;

View file

@ -40,7 +40,6 @@ A code example which configures a mod-tap setting that works with homerow mods:
hm: homerow_mods { hm: homerow_mods {
compatible = "zmk,behavior-hold-tap"; compatible = "zmk,behavior-hold-tap";
label = "HOMEROW_MODS"; label = "HOMEROW_MODS";
#binding-cells = <2>;
tapping_term_ms = <175>; tapping_term_ms = <175>;
flavor = "balanced"; flavor = "balanced";
bindings = <&kp>, <&kp>; bindings = <&kp>, <&kp>;