[Feature] Add keycode PDF(layer) to set the default layer in EEPROM (#24630)
* [Feature] Add keycode PDF(layer) to set the default layer in EEPROM (#21881) * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> --------- Co-authored-by: Nebuleon <2391500+Nebuleon@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -52,6 +52,10 @@
|
||||
# include "process_midi.h"
|
||||
#endif
|
||||
|
||||
#if !defined(NO_ACTION_LAYER)
|
||||
# include "process_default_layer.h"
|
||||
#endif
|
||||
|
||||
#ifdef PROGRAMMABLE_BUTTON_ENABLE
|
||||
# include "process_programmable_button.h"
|
||||
#endif
|
||||
@@ -404,6 +408,9 @@ bool process_record_quantum(keyrecord_t *record) {
|
||||
#ifdef TRI_LAYER_ENABLE
|
||||
process_tri_layer(keycode, record) &&
|
||||
#endif
|
||||
#if !defined(NO_ACTION_LAYER)
|
||||
process_default_layer(keycode, record) &&
|
||||
#endif
|
||||
#ifdef LAYER_LOCK_ENABLE
|
||||
process_layer_lock(keycode, record) &&
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user