aboutsummaryrefslogtreecommitdiff
path: root/keyboards/preonic/keymaps/xulkal/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/preonic/keymaps/xulkal/keymap.c')
-rw-r--r--keyboards/preonic/keymaps/xulkal/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/preonic/keymaps/xulkal/keymap.c b/keyboards/preonic/keymaps/xulkal/keymap.c
index 967cd5a0a..f127ea469 100644
--- a/keyboards/preonic/keymaps/xulkal/keymap.c
+++ b/keyboards/preonic/keymaps/xulkal/keymap.c
@@ -74,7 +74,7 @@ uint16_t muse_counter = 0;
74uint8_t muse_offset = 70; 74uint8_t muse_offset = 70;
75uint16_t muse_tempo = 50; 75uint16_t muse_tempo = 50;
76 76
77void encoder_update_user(uint8_t index, bool clockwise) { 77bool encoder_update_user(uint8_t index, bool clockwise) {
78 if (muse_mode) { 78 if (muse_mode) {
79 if (IS_LAYER_ON(_RAISE)) { 79 if (IS_LAYER_ON(_RAISE)) {
80 if (clockwise) { 80 if (clockwise) {
@@ -98,6 +98,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
98 unregister_code(KC_PGUP); 98 unregister_code(KC_PGUP);
99 } 99 }
100 } 100 }
101 return true;
101} 102}
102 103
103void dip_update(uint8_t index, bool active) { 104void dip_update(uint8_t index, bool active) {