[Keymap] fix NKRO - switch to get_mods() and refactor encoder action code (#14278)
Co-authored-by: Jonavin <=>
This commit is contained in:
parent
724ee24075
commit
705cd433c2
9 changed files with 213 additions and 190 deletions
|
@ -58,6 +58,18 @@ enum custom_user_keycodes {
|
|||
#endif // TD_LSFT_CAPSLOCK_ENABLE
|
||||
|
||||
|
||||
// ENCODER ACTIONS
|
||||
#ifdef ENCODER_ENABLE
|
||||
void encoder_action_volume(bool clockwise);
|
||||
void encoder_action_mediatrack(bool clockwise);
|
||||
void encoder_action_navword(bool clockwise);
|
||||
void encoder_action_navpage(bool clockwise);
|
||||
|
||||
uint8_t get_selected_layer(void);
|
||||
void encoder_action_layerchange(bool clockwise);
|
||||
#endif // ENCODER_ENABLE
|
||||
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
//RGB custom colours
|
||||
#define RGB_GODSPEED 0x00, 0xE4, 0xFF // colour for matching keycaps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue