[Keymap] fix NKRO - switch to get_mods() and refactor encoder action code (#14278)

Co-authored-by: Jonavin <=>
This commit is contained in:
jonavinandJonavin authored and GitHub committed 2021-09-28 12:24:12 -07:00
1 parent 724ee24075
commit 705cd433c2
9 files changed
+213 -190

No files matched your search

+12
View File
@@ -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