diff --git a/app/include/zmk/combos.h b/app/include/zmk/combos.h index a7166dff583..d93006f686a 100644 --- a/app/include/zmk/combos.h +++ b/app/include/zmk/combos.h @@ -8,9 +8,9 @@ #include -#define ZMK_COMBOS_UTIL_ONE(n) 1 +#define ZMK_COMBOS_UTIL_ONE(n) +1 #define ZMK_COMBOS_LEN \ - COND_CODE_1( \ - DT_HAS_COMPAT_STATUS_OKAY(zmk_combos), \ - (DT_FOREACH_CHILD_STATUS_OKAY_SEP(DT_INST(0, zmk_combos), ZMK_COMBOS_UTIL_ONE, (+))), (0)) \ No newline at end of file + COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(zmk_combos), \ + (0 DT_FOREACH_CHILD_STATUS_OKAY(DT_INST(0, zmk_combos), ZMK_COMBOS_UTIL_ONE)), \ + (0)) \ No newline at end of file diff --git a/app/tests/pointing/mouse-move/processors/behaviors_hold_tap/native_posix_64.keymap b/app/tests/pointing/mouse-move/processors/behaviors_hold_tap/native_posix_64.keymap index eb1d8f02795..092a20a03f7 100644 --- a/app/tests/pointing/mouse-move/processors/behaviors_hold_tap/native_posix_64.keymap +++ b/app/tests/pointing/mouse-move/processors/behaviors_hold_tap/native_posix_64.keymap @@ -18,6 +18,10 @@ }; / { + combos { + compatible = "zmk,combos"; + }; + keymap { compatible = "zmk,keymap"; label ="Default keymap";