diff options
author | Stefan Kerkmann <karlk90@pm.me> | 2021-11-27 19:54:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-28 05:54:51 +1100 |
commit | ca5670762b27aba890fd4804ab303aea5e329895 (patch) | |
tree | 13fca2eb377114faeb04b705378ac4b86cb0f59b | |
parent | e156d5c13b52be03d7b4db081b8000a7c93f7dfe (diff) | |
download | qmk_firmware-ca5670762b27aba890fd4804ab303aea5e329895.tar.gz qmk_firmware-ca5670762b27aba890fd4804ab303aea5e329895.zip |
Fix HOLD_ON_OTHER_KEY_PRESS after #11059 (#15307)
that broke compilation because of a typo: KEYPRESS should have been
KEY_PRESS
-rw-r--r-- | quantum/action_tapping.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/action_tapping.c b/quantum/action_tapping.c index b64d8b710b..d2c93f85e3 100644 --- a/quantum/action_tapping.c +++ b/quantum/action_tapping.c @@ -113,7 +113,7 @@ void action_tapping_process(keyrecord_t record) { /* return true when key event is processed or consumed. */ bool process_tapping(keyrecord_t *keyp) { keyevent_t event = keyp->event; -# if (defined(AUTO_SHIFT_ENABLE) && defined(RETRO_SHIFT)) || defined(TAPPING_TERM_PER_KEY) || defined(PERMISSIVE_HOLD_PER_KEY) || defined(TAPPING_FORCE_HOLD_PER_KEY) || defined(HOLD_ON_OTHER_KEYPRESS_PER_KEY) +# if (defined(AUTO_SHIFT_ENABLE) && defined(RETRO_SHIFT)) || defined(TAPPING_TERM_PER_KEY) || defined(PERMISSIVE_HOLD_PER_KEY) || defined(TAPPING_FORCE_HOLD_PER_KEY) || defined(HOLD_ON_OTHER_KEY_PRESS_PER_KEY) uint16_t tapping_keycode = get_record_keycode(&tapping_key, false); # endif @@ -184,11 +184,11 @@ bool process_tapping(keyrecord_t *keyp) { ( ( false -# if defined(HOLD_ON_OTHER_KEYPRESS) || defined(HOLD_ON_OTHER_KEYPRESS_PER_KEY) +# if defined(HOLD_ON_OTHER_KEY_PRESS) || defined(HOLD_ON_OTHER_KEY_PRESS_PER_KEY) || ( IS_LT(tapping_keycode) -# ifdef HOLD_ON_OTHER_KEYPRESS_PER_KEY - && get_hold_on_other_keypress(tapping_keycode, keyp) +# ifdef HOLD_ON_OTHER_KEY_PRESS_PER_KEY + && get_hold_on_other_key_press(tapping_keycode, keyp) # endif ) # endif |