diff options
Diffstat (limited to 'quantum/quantum.c')
| -rw-r--r-- | quantum/quantum.c | 16 | 
1 files changed, 14 insertions, 2 deletions
| diff --git a/quantum/quantum.c b/quantum/quantum.c index 9a0016b150..5b5364c8f1 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -251,7 +251,11 @@ bool process_record_quantum(keyrecord_t *record) {  #endif  #ifdef TAP_DANCE_ENABLE -    preprocess_tap_dance(keycode, record); +    if (preprocess_tap_dance(keycode, record)) { +        // The tap dance might have updated the layer state, therefore the +        // result of the keycode lookup might change. +        keycode = get_record_keycode(record, true); +    }  #endif      if (!( @@ -272,6 +276,9 @@ bool process_record_quantum(keyrecord_t *record) {  #if defined(VIA_ENABLE)              process_record_via(keycode, record) &&  #endif +#if defined(POINTING_DEVICE_ENABLE) && defined(POINTING_DEVICE_AUTO_MOUSE_ENABLE) +            process_auto_mouse(keycode, record) && +#endif              process_record_kb(keycode, record) &&  #if defined(SECURE_ENABLE)              process_secure(keycode, record) && @@ -336,6 +343,9 @@ bool process_record_quantum(keyrecord_t *record) {  #ifdef PROGRAMMABLE_BUTTON_ENABLE              process_programmable_button(keycode, record) &&  #endif +#ifdef AUTOCORRECT_ENABLE +            process_autocorrect(keycode, record) && +#endif              true)) {          return false;      } @@ -361,8 +371,10 @@ bool process_record_quantum(keyrecord_t *record) {  #endif                  return false;              case QK_CLEAR_EEPROM: +#ifdef NO_RESET                  eeconfig_init(); -#ifndef NO_RESET +#else +                eeconfig_disable();                  soft_reset_keyboard();  #endif                  return false; | 
