aboutsummaryrefslogtreecommitdiff
path: root/keyboards/preonic/keymaps/laurentlaurent/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/preonic/keymaps/laurentlaurent/keymap.c')
-rw-r--r--keyboards/preonic/keymaps/laurentlaurent/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/preonic/keymaps/laurentlaurent/keymap.c b/keyboards/preonic/keymaps/laurentlaurent/keymap.c
index c113bcaf6..b1a73035b 100644
--- a/keyboards/preonic/keymaps/laurentlaurent/keymap.c
+++ b/keyboards/preonic/keymaps/laurentlaurent/keymap.c
@@ -529,7 +529,7 @@ uint16_t muse_counter = 0;
529uint8_t muse_offset = 70; 529uint8_t muse_offset = 70;
530uint16_t muse_tempo = 50; 530uint16_t muse_tempo = 50;
531 531
532void encoder_update_user(uint8_t index, bool clockwise) { 532bool encoder_update_user(uint8_t index, bool clockwise) {
533 if (muse_mode) { 533 if (muse_mode) {
534 if (IS_LAYER_ON(_RAISE)) { 534 if (IS_LAYER_ON(_RAISE)) {
535 if (clockwise) { 535 if (clockwise) {
@@ -551,6 +551,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
551 tap_code(KC_PGUP); 551 tap_code(KC_PGUP);
552 } 552 }
553 } 553 }
554 return true;
554} 555}
555 556
556void dip_switch_update_user(uint8_t index, bool active) { 557void dip_switch_update_user(uint8_t index, bool active) {