From 21b660fa07455a0173770ccab1cd21d7c7625014 Mon Sep 17 00:00:00 2001 From: Sergey Vlasov Date: Sat, 20 May 2023 15:15:55 +0300 Subject: Move `pre_process_record_kb()` before `process_combo()` (#20969) --- quantum/quantum.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'quantum') diff --git a/quantum/quantum.c b/quantum/quantum.c index 950be3182e..fdc24fa2d0 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -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 */ -- cgit v1.2.3