summaryrefslogtreecommitdiff
path: root/quantum/quantum.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r--quantum/quantum.c7
1 files changed, 3 insertions, 4 deletions
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 */