diff options
author | Okke Formsma <okke@formsma.nl> | 2020-12-12 20:32:20 +0100 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2021-02-02 00:43:26 -0500 |
commit | 4e20bf5de17e9d1c8adca66be08469c28981a945 (patch) | |
tree | f768c36077f37b09c50f2307fbc87e88ee707eea /app/include | |
parent | 84d19fe79b04af0fca87621306b1526a629a7957 (diff) |
refactor(behaviors): simplify hold-taps by not using _TRANSFORM_ENTRY
Diffstat (limited to 'app/include')
-rw-r--r-- | app/include/zmk/keymap.h | 2 |
1 files changed, 1 insertions, 1 deletions
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), \ |