diff options
Diffstat (limited to 'quantum/quantum.c')
| -rw-r--r-- | quantum/quantum.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index fdc24fa2d0..091cf298f7 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
| @@ -176,7 +176,7 @@ void soft_reset_keyboard(void) { | |||
| 176 | 176 | ||
| 177 | /* Convert record into usable keycode via the contained event. */ | 177 | /* Convert record into usable keycode via the contained event. */ |
| 178 | uint16_t get_record_keycode(keyrecord_t *record, bool update_layer_cache) { | 178 | uint16_t get_record_keycode(keyrecord_t *record, bool update_layer_cache) { |
| 179 | #ifdef COMBO_ENABLE | 179 | #if defined(COMBO_ENABLE) || defined(REPEAT_KEY_ENABLE) |
| 180 | if (record->keycode) { | 180 | if (record->keycode) { |
| 181 | return record->keycode; | 181 | return record->keycode; |
| 182 | } | 182 | } |
| @@ -273,6 +273,9 @@ bool process_record_quantum(keyrecord_t *record) { | |||
| 273 | // Must run asap to ensure all keypresses are recorded. | 273 | // Must run asap to ensure all keypresses are recorded. |
| 274 | process_dynamic_macro(keycode, record) && | 274 | process_dynamic_macro(keycode, record) && |
| 275 | #endif | 275 | #endif |
| 276 | #ifdef REPEAT_KEY_ENABLE | ||
| 277 | process_last_key(keycode, record) && process_repeat_key(keycode, record) && | ||
| 278 | #endif | ||
| 276 | #if defined(AUDIO_ENABLE) && defined(AUDIO_CLICKY) | 279 | #if defined(AUDIO_ENABLE) && defined(AUDIO_CLICKY) |
| 277 | process_clicky(keycode, record) && | 280 | process_clicky(keycode, record) && |
| 278 | #endif | 281 | #endif |
