Allow overriding of keymap/encodermap layer count. (#19325)
This commit is contained in:
parent
aea1194ea3
commit
ea05045923
2 changed files with 39 additions and 15 deletions
|
@ -4,7 +4,12 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
// Get the number of layers defined in the keymap
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Key mapping
|
||||
|
||||
// Get the number of layers defined in the keymap, stored in firmware rather than any other persistent storage
|
||||
uint8_t keymap_layer_count_raw(void);
|
||||
// Get the number of layers defined in the keymap, potentially stored dynamically
|
||||
uint8_t keymap_layer_count(void);
|
||||
|
||||
// Get the keycode for the keymap location, stored in firmware rather than any other persistent storage
|
||||
|
@ -12,9 +17,14 @@ uint16_t keycode_at_keymap_location_raw(uint8_t layer_num, uint8_t row, uint8_t
|
|||
// Get the keycode for the keymap location, potentially stored dynamically
|
||||
uint16_t keycode_at_keymap_location(uint8_t layer_num, uint8_t row, uint8_t column);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Encoder mapping
|
||||
|
||||
#if defined(ENCODER_ENABLE) && defined(ENCODER_MAP_ENABLE)
|
||||
|
||||
// Get the number of layers defined in the encoder map
|
||||
// Get the number of layers defined in the encoder map, stored in firmware rather than any other persistent storage
|
||||
uint8_t encodermap_layer_count_raw(void);
|
||||
// Get the number of layers defined in the encoder map, potentially stored dynamically
|
||||
uint8_t encodermap_layer_count(void);
|
||||
|
||||
// Get the keycode for the encoder mapping location, stored in firmware rather than any other persistent storage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue