aboutsummaryrefslogtreecommitdiff
path: root/keyboards/preonic/keymaps/mverteuil/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/preonic/keymaps/mverteuil/keymap.c')
-rw-r--r--keyboards/preonic/keymaps/mverteuil/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/preonic/keymaps/mverteuil/keymap.c b/keyboards/preonic/keymaps/mverteuil/keymap.c
index 621d60be6..60677701c 100644
--- a/keyboards/preonic/keymaps/mverteuil/keymap.c
+++ b/keyboards/preonic/keymaps/mverteuil/keymap.c
@@ -434,7 +434,7 @@ uint16_t muse_counter = 0;
434uint8_t muse_offset = 70; 434uint8_t muse_offset = 70;
435uint16_t muse_tempo = 50; 435uint16_t muse_tempo = 50;
436 436
437void encoder_update_user(uint8_t index, bool clockwise) { 437bool encoder_update_user(uint8_t index, bool clockwise) {
438 if (muse_mode) { 438 if (muse_mode) {
439 if (IS_LAYER_ON(_RAISE)) { 439 if (IS_LAYER_ON(_RAISE)) {
440 if (clockwise) { 440 if (clockwise) {
@@ -456,6 +456,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
456 tap_code(KC_PGUP); 456 tap_code(KC_PGUP);
457 } 457 }
458 } 458 }
459 return true;
459} 460}
460 461
461void dip_switch_update_user(uint8_t index, bool active) { 462void dip_switch_update_user(uint8_t index, bool active) {