aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/unagi/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/unagi/keymap.c')
-rw-r--r--keyboards/planck/keymaps/unagi/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/planck/keymaps/unagi/keymap.c b/keyboards/planck/keymaps/unagi/keymap.c
index 596973ba3..5f4d3b886 100644
--- a/keyboards/planck/keymaps/unagi/keymap.c
+++ b/keyboards/planck/keymaps/unagi/keymap.c
@@ -267,7 +267,7 @@ uint16_t muse_counter = 0;
267uint8_t muse_offset = 70; 267uint8_t muse_offset = 70;
268uint16_t muse_tempo = 50; 268uint16_t muse_tempo = 50;
269 269
270void encoder_update(bool clockwise) { 270bool encoder_update(bool clockwise) {
271 if (muse_mode) { 271 if (muse_mode) {
272 if (IS_LAYER_ON(_RAISE)) { 272 if (IS_LAYER_ON(_RAISE)) {
273 if (clockwise) { 273 if (clockwise) {
@@ -291,6 +291,7 @@ void encoder_update(bool clockwise) {
291 unregister_code(KC_PGUP); 291 unregister_code(KC_PGUP);
292 } 292 }
293 } 293 }
294 return true;
294} 295}
295 296
296void dip_update(uint8_t index, bool active) { 297void dip_update(uint8_t index, bool active) {