Separate keycode handling for LED Matrix and Backlight (#23426)
This commit is contained in:
parent
4acdddbf48
commit
25f608c1b4
5 changed files with 54 additions and 31 deletions
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "quantum.h"
|
||||
|
||||
#if defined(BACKLIGHT_ENABLE) || defined(LED_MATRIX_ENABLE)
|
||||
#ifdef BACKLIGHT_ENABLE
|
||||
# include "process_backlight.h"
|
||||
#endif
|
||||
|
||||
|
@ -40,6 +40,10 @@
|
|||
# include "process_leader.h"
|
||||
#endif
|
||||
|
||||
#ifdef LED_MATRIX_ENABLE
|
||||
# include "process_led_matrix.h"
|
||||
#endif
|
||||
|
||||
#ifdef MAGIC_ENABLE
|
||||
# include "process_magic.h"
|
||||
#endif
|
||||
|
@ -333,9 +337,12 @@ bool process_record_quantum(keyrecord_t *record) {
|
|||
#ifdef AUDIO_ENABLE
|
||||
process_audio(keycode, record) &&
|
||||
#endif
|
||||
#if defined(BACKLIGHT_ENABLE) || defined(LED_MATRIX_ENABLE)
|
||||
#if defined(BACKLIGHT_ENABLE)
|
||||
process_backlight(keycode, record) &&
|
||||
#endif
|
||||
#if defined(LED_MATRIX_ENABLE)
|
||||
process_led_matrix(keycode, record) &&
|
||||
#endif
|
||||
#ifdef STENO_ENABLE
|
||||
process_steno(keycode, record) &&
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue