aboutsummaryrefslogtreecommitdiff
path: root/keyboards/preonic/keymaps/elisiano/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/preonic/keymaps/elisiano/keymap.c')
-rw-r--r--keyboards/preonic/keymaps/elisiano/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/preonic/keymaps/elisiano/keymap.c b/keyboards/preonic/keymaps/elisiano/keymap.c
index a4e78d015..8d3898922 100644
--- a/keyboards/preonic/keymaps/elisiano/keymap.c
+++ b/keyboards/preonic/keymaps/elisiano/keymap.c
@@ -232,7 +232,7 @@ uint16_t muse_counter = 0;
232uint8_t muse_offset = 70; 232uint8_t muse_offset = 70;
233uint16_t muse_tempo = 50; 233uint16_t muse_tempo = 50;
234 234
235void encoder_update_user(uint8_t index, bool clockwise) { 235bool encoder_update_user(uint8_t index, bool clockwise) {
236 if (muse_mode) { 236 if (muse_mode) {
237 if (IS_LAYER_ON(_RAISE)) { 237 if (IS_LAYER_ON(_RAISE)) {
238 if (clockwise) { 238 if (clockwise) {
@@ -254,6 +254,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
254 tap_code(KC_PGUP); 254 tap_code(KC_PGUP);
255 } 255 }
256 } 256 }
257 return true;
257} 258}
258 259
259void dip_switch_update_user(uint8_t index, bool active) { 260void dip_switch_update_user(uint8_t index, bool active) {