[Core] Add Layer Lock feature (#23430)
Co-authored-by: Daniel <1767914+iamdanielv@users.noreply.github.com> Co-authored-by: Pascal Getreuer <getreuer@google.com> Co-authored-by: Pascal Getreuer <50221757+getreuer@users.noreply.github.com>
This commit is contained in:
@@ -76,6 +76,10 @@
|
||||
# include "process_unicode_common.h"
|
||||
#endif
|
||||
|
||||
#ifdef LAYER_LOCK_ENABLE
|
||||
# include "process_layer_lock.h"
|
||||
#endif // LAYER_LOCK_ENABLE
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
# ifndef GOODBYE_SONG
|
||||
# define GOODBYE_SONG SONG(GOODBYE_SOUND)
|
||||
@@ -400,6 +404,9 @@ bool process_record_quantum(keyrecord_t *record) {
|
||||
#ifdef TRI_LAYER_ENABLE
|
||||
process_tri_layer(keycode, record) &&
|
||||
#endif
|
||||
#ifdef LAYER_LOCK_ENABLE
|
||||
process_layer_lock(keycode, record) &&
|
||||
#endif
|
||||
#ifdef BLUETOOTH_ENABLE
|
||||
process_connection(keycode, record) &&
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user