diff options
author | Drashna Jaelre <[email protected]> | 2024-11-20 22:31:54 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2024-11-21 17:31:54 +1100 |
commit | 36b5559b997cedd14a352aa70891558936b8b3a3 (patch) | |
tree | bf4d30ba2d31b69d659c53a225e4a5b9a7299f7a /quantum/quantum.h | |
parent | 39161b9ee793f4c62836b209ec877acda457b88d (diff) | |
download | qmk_firmware-36b5559b997cedd14a352aa70891558936b8b3a3.tar.gz qmk_firmware-36b5559b997cedd14a352aa70891558936b8b3a3.zip |
[Core] Add Layer Lock feature (#23430)
Co-authored-by: Daniel <[email protected]>
Co-authored-by: Pascal Getreuer <[email protected]>
Co-authored-by: Pascal Getreuer <[email protected]>
Diffstat (limited to 'quantum/quantum.h')
-rw-r--r-- | quantum/quantum.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h index b60d8a86bf..71cf900f2d 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h @@ -240,6 +240,10 @@ extern layer_state_t layer_state; # include "os_detection.h" #endif +#ifdef LAYER_LOCK_ENABLE +# include "layer_lock.h" +#endif // LAYER_LOCK_ENABLE + void set_single_default_layer(uint8_t default_layer); void set_single_persistent_default_layer(uint8_t default_layer); |