aboutsummaryrefslogtreecommitdiff
path: root/keyboards/preonic/keymaps/kjwon15/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/preonic/keymaps/kjwon15/keymap.c')
-rw-r--r--keyboards/preonic/keymaps/kjwon15/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/preonic/keymaps/kjwon15/keymap.c b/keyboards/preonic/keymaps/kjwon15/keymap.c
index 11ea0e51c..6f1d5f30a 100644
--- a/keyboards/preonic/keymaps/kjwon15/keymap.c
+++ b/keyboards/preonic/keymaps/kjwon15/keymap.c
@@ -302,7 +302,7 @@ uint16_t muse_counter = 0;
302uint8_t muse_offset = 70; 302uint8_t muse_offset = 70;
303uint16_t muse_tempo = 50; 303uint16_t muse_tempo = 50;
304 304
305void encoder_update_user(uint8_t index, bool clockwise) { 305bool encoder_update_user(uint8_t index, bool clockwise) {
306 if (muse_mode) { 306 if (muse_mode) {
307 if (IS_LAYER_ON(_RAISE)) { 307 if (IS_LAYER_ON(_RAISE)) {
308 if (clockwise) { 308 if (clockwise) {
@@ -324,6 +324,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
324 tap_code(KC_PGUP); 324 tap_code(KC_PGUP);
325 } 325 }
326 } 326 }
327 return true;
327} 328}
328 329
329void dip_switch_update_user(uint8_t index, bool active) { 330void dip_switch_update_user(uint8_t index, bool active) {