/* * Copyright (c) 2020 The ZMK Contributors * * SPDX-License-Identifier: MIT */ #pragma once #include #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))