aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/msiu/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/msiu/keymap.c')
-rw-r--r--keyboards/planck/keymaps/msiu/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/planck/keymaps/msiu/keymap.c b/keyboards/planck/keymaps/msiu/keymap.c
index aea59e8d7..bc067973c 100644
--- a/keyboards/planck/keymaps/msiu/keymap.c
+++ b/keyboards/planck/keymaps/msiu/keymap.c
@@ -128,7 +128,7 @@ uint16_t muse_counter = 0;
128uint8_t muse_offset = 70; 128uint8_t muse_offset = 70;
129uint16_t muse_tempo = 50; 129uint16_t muse_tempo = 50;
130 130
131void encoder_update(bool clockwise) { 131bool encoder_update(bool clockwise) {
132 if (muse_mode) { 132 if (muse_mode) {
133 if (IS_LAYER_ON(_RAISE)) { 133 if (IS_LAYER_ON(_RAISE)) {
134 if (clockwise) { 134 if (clockwise) {
@@ -152,6 +152,7 @@ void encoder_update(bool clockwise) {
152 unregister_code(KC_PGUP); 152 unregister_code(KC_PGUP);
153 } 153 }
154 } 154 }
155 return true;
155} 156}
156 157
157void dip_update(uint8_t index, bool active) { 158void dip_update(uint8_t index, bool active) {