aboutsummaryrefslogtreecommitdiff
path: root/quantum/quantum.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r--quantum/quantum.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 749a08eea..49767819d 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -192,6 +192,12 @@ bool process_record_quantum(keyrecord_t *record) {
192 } 192 }
193#endif 193#endif
194 194
195#ifdef WPM_ENABLE
196 if (record->event.pressed) {
197 update_wpm(keycode);
198 }
199#endif
200
195#ifdef TAP_DANCE_ENABLE 201#ifdef TAP_DANCE_ENABLE
196 preprocess_tap_dance(keycode, record); 202 preprocess_tap_dance(keycode, record);
197#endif 203#endif
@@ -645,6 +651,10 @@ void matrix_scan_quantum() {
645 encoder_read(); 651 encoder_read();
646#endif 652#endif
647 653
654#ifdef WPM_ENABLE
655 decay_wpm();
656#endif
657
648#ifdef HAPTIC_ENABLE 658#ifdef HAPTIC_ENABLE
649 haptic_task(); 659 haptic_task();
650#endif 660#endif