Skip to content

Commit

Permalink
Remove deprecated label property from behaviors
Browse files Browse the repository at this point in the history
  • Loading branch information
manna-harbour committed Apr 30, 2024
1 parent 755d4f6 commit f6c0f70
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion miryoku/miryoku.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
/ { \
macros { \
name: name { \
label = U_STRINGIFY(ZM_ ## name); \
compatible = "zmk,behavior-macro"; \
#binding-cells = <0>; \
__VA_ARGS__ \
Expand Down
2 changes: 0 additions & 2 deletions miryoku/miryoku_behaviors.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
behaviors {
u_mt: u_mt {
compatible = "zmk,behavior-hold-tap";
label = "u_mt";
#binding-cells = <2>;
tapping_term_ms = <U_TAPPING_TERM>;
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};
u_lt: u_lt {
compatible = "zmk,behavior-hold-tap";
label = "u_lt";
#binding-cells = <2>;
tapping_term_ms = <U_TAPPING_TERM>;
flavor = "tap-preferred";
Expand Down
1 change: 0 additions & 1 deletion miryoku/miryoku_double_tap_guard.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
behaviors { \
NAME: NAME { \
compatible = "zmk,behavior-tap-dance"; \
label = U_STRINGIFY(NAME); \
#binding-cells = <0>; \
tapping-term-ms = <U_TAPPING_TERM>; \
bindings = <&none>, <BINDING>; \
Expand Down
2 changes: 0 additions & 2 deletions miryoku/miryoku_kludge_tapdelay.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ U_MACRO(u_tapdelay_tap_##CODE, bindings = <&macro_press &kp CODE>, <&macro_relea
behaviors { \
u_tapdelay_mt_##CODE: u_tapdelay_mt_##CODE { \
compatible = "zmk,behavior-hold-tap"; \
label = U_STRINGIFY(u_tapdelay_mt_##CODE); \
#binding-cells = <2>; \
tapping_term_ms = <U_TAPPING_TERM>; \
flavor = "tap-preferred"; \
Expand All @@ -25,7 +24,6 @@ U_MACRO(u_tapdelay_tap_##CODE, bindings = <&macro_press &kp CODE>, <&macro_relea
behaviors { \
u_tapdelay_lt_##CODE: u_tapdelay_lt_##CODE { \
compatible = "zmk,behavior-hold-tap"; \
label = U_STRINGIFY(u_tapdelay_lt_##CODE); \
#binding-cells = <2>; \
tapping_term_ms = <U_TAPPING_TERM>; \
flavor = "tap-preferred"; \
Expand Down
1 change: 0 additions & 1 deletion miryoku/miryoku_shift_functions.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
behaviors { \
NAME: NAME { \
compatible = "zmk,behavior-mod-morph"; \
label = U_STRINGIFY(NAME); \
#binding-cells = <0>; \
bindings = <BINDING>, <SHIFT_BINDING>; \
mods = <(MOD_LSFT|MOD_RSFT)>; \
Expand Down

0 comments on commit f6c0f70

Please sign in to comment.