aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/navi/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/navi/keymap.c')
-rw-r--r--keyboards/planck/keymaps/navi/keymap.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/planck/keymaps/navi/keymap.c b/keyboards/planck/keymaps/navi/keymap.c
index bbf7d510f..db5345127 100644
--- a/keyboards/planck/keymaps/navi/keymap.c
+++ b/keyboards/planck/keymaps/navi/keymap.c
@@ -25,7 +25,7 @@ enum planck_layers {
25 _RAISE, 25 _RAISE,
26 _FUNCTION, 26 _FUNCTION,
27 _ADJUST 27 _ADJUST
28 28
29}; 29};
30 30
31enum planck_keycodes { 31enum planck_keycodes {
@@ -159,7 +159,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
159 layer_off(_FUNCTION); 159 layer_off(_FUNCTION);
160 } 160 }
161 return false; 161 return false;
162 break; 162 break;
163 } 163 }
164 return true; 164 return true;
165} 165}
@@ -170,7 +170,7 @@ uint16_t muse_counter = 0;
170uint8_t muse_offset = 70; 170uint8_t muse_offset = 70;
171uint16_t muse_tempo = 50; 171uint16_t muse_tempo = 50;
172 172
173void encoder_update(bool clockwise) { 173bool encoder_update(bool clockwise) {
174 if (muse_mode) { 174 if (muse_mode) {
175 if (IS_LAYER_ON(_RAISE)) { 175 if (IS_LAYER_ON(_RAISE)) {
176 if (clockwise) { 176 if (clockwise) {
@@ -204,6 +204,7 @@ void encoder_update(bool clockwise) {
204 #endif 204 #endif
205 } 205 }
206 } 206 }
207 return true;
207} 208}
208 209
209bool music_mask_user(uint16_t keycode) { 210bool music_mask_user(uint16_t keycode) {