Browse Source

Process Tap Dances before WPM/Velocikey (#19599)

pull/19616/head
Jouke Witteveen 1 year ago
committed by GitHub
parent
commit
db7ca07909
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      quantum/quantum.c

+ 8
- 8
quantum/quantum.c View File

@ -238,6 +238,14 @@ bool process_record_quantum(keyrecord_t *record) {
}
#endif
#ifdef TAP_DANCE_ENABLE
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
#ifdef VELOCIKEY_ENABLE
if (velocikey_enabled() && record->event.pressed) {
velocikey_accelerate();
@ -250,14 +258,6 @@ bool process_record_quantum(keyrecord_t *record) {
}
#endif
#ifdef TAP_DANCE_ENABLE
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 (!(
#if defined(KEY_LOCK_ENABLE)
// Must run first to be able to mask key_up events.


Loading…
Cancel
Save