diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2026-11-27 09:21:15 +0100 |
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2026-11-27 09:21:15 +0100 |
| commit | 93ed6753590d1b996beb95b35980cb613f4447e5 (patch) | |
| tree | 2f2d5bb2241c77353606868f1a874a9fdc3526ef /qmk/keyboards/sofle_choc/keymaps/custom/tap_hold_dance.h | |
| parent | 60b834c340cc6d5508eec31c2368bf5cf01e72a0 (diff) | |
Removed old code
Diffstat (limited to 'qmk/keyboards/sofle_choc/keymaps/custom/tap_hold_dance.h')
| -rw-r--r-- | qmk/keyboards/sofle_choc/keymaps/custom/tap_hold_dance.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/qmk/keyboards/sofle_choc/keymaps/custom/tap_hold_dance.h b/qmk/keyboards/sofle_choc/keymaps/custom/tap_hold_dance.h index 4c895d5..67fb332 100644 --- a/qmk/keyboards/sofle_choc/keymaps/custom/tap_hold_dance.h +++ b/qmk/keyboards/sofle_choc/keymaps/custom/tap_hold_dance.h @@ -7,7 +7,6 @@ typedef struct { const uint16_t tap; const uint16_t hold; uint16_t held; - bool left; } tap_hold_dance_t; void tap_hold_dance_each(tap_dance_state_t *state, void *user_data); @@ -17,9 +16,9 @@ void tap_hold_dance_released(tap_dance_state_t *state, void *user_data); void tap_hold_dance_process_record(uint16_t keycode, keyrecord_t *record); uint16_t tap_hold_dance_tapping_term(uint16_t keycode, keyrecord_t *record); -#define ACTION_TAP_HOLD_DANCE(tap, hold, left) \ +#define ACTION_TAP_HOLD_DANCE(tap, hold) \ { \ .fn = {NULL, tap_hold_dance_finished, tap_hold_dance_reset, tap_hold_dance_released}, \ - .user_data = (void *)&((tap_hold_dance_t){TD_NONE, tap, hold, 0, 0}), \ + .user_data = (void *)&((tap_hold_dance_t){TD_NONE, tap, hold, 0}), \ } |
