From 4e20bf5de17e9d1c8adca66be08469c28981a945 Mon Sep 17 00:00:00 2001 From: Okke Formsma Date: Sat, 12 Dec 2020 20:32:20 +0100 Subject: refactor(behaviors): simplify hold-taps by not using _TRANSFORM_ENTRY --- app/include/zmk/keymap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/include') diff --git a/app/include/zmk/keymap.h b/app/include/zmk/keymap.h index 4ac91cb..7151930 100644 --- a/app/include/zmk/keymap.h +++ b/app/include/zmk/keymap.h @@ -20,7 +20,7 @@ const char *zmk_keymap_layer_label(uint8_t layer); int zmk_keymap_position_state_changed(uint32_t position, bool pressed, int64_t timestamp); -#define ZMK_KEYMAP_EXTRACT_BINDING(idx, drv_inst) \ +#define ZMK_KEYMAP_EXTRACT_BINDING(idx, drv_inst) \ { \ .behavior_dev = DT_LABEL(DT_PHANDLE_BY_IDX(drv_inst, bindings, idx)), \ .param1 = COND_CODE_0(DT_PHA_HAS_CELL_AT_IDX(drv_inst, bindings, idx, param1), (0), \ -- cgit v1.2.3