Segregrate keycode at pre-process record quantum (#24194)
This commit is contained in:
parent
656fea4dab
commit
11f2209087
1 changed files with 2 additions and 3 deletions
|
@ -246,10 +246,9 @@ uint16_t get_event_keycode(keyevent_t event, bool update_layer_cache) {
|
||||||
|
|
||||||
/* Get keycode, and then process pre tapping functionality */
|
/* Get keycode, and then process pre tapping functionality */
|
||||||
bool pre_process_record_quantum(keyrecord_t *record) {
|
bool pre_process_record_quantum(keyrecord_t *record) {
|
||||||
uint16_t keycode = get_record_keycode(record, true);
|
return pre_process_record_kb(get_record_keycode(record, true), record) &&
|
||||||
return pre_process_record_kb(keycode, record) &&
|
|
||||||
#ifdef COMBO_ENABLE
|
#ifdef COMBO_ENABLE
|
||||||
process_combo(keycode, record) &&
|
process_combo(get_record_keycode(record, true), record) &&
|
||||||
#endif
|
#endif
|
||||||
true;
|
true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue