1
0
Fork 0

Move pre_process_record_kb() before process_combo() (#20969)

This commit is contained in:
Sergey Vlasov 2023-05-20 15:15:55 +03:00 committed by GitHub
parent 6d90fa2300
commit 21b660fa07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View file

@ -211,12 +211,11 @@ uint16_t get_event_keycode(keyevent_t event, bool update_layer_cache) {
/* Get keycode, and then process pre tapping functionality */
bool pre_process_record_quantum(keyrecord_t *record) {
uint16_t keycode = get_record_keycode(record, true);
return pre_process_record_kb(keycode, record) &&
#ifdef COMBO_ENABLE
if (!(process_combo(keycode, record))) {
return false;
}
process_combo(keycode, record) &&
#endif
return pre_process_record_kb(keycode, record);
true;
}
/* Get keycode, and then call keyboard function */