aboutsummaryrefslogtreecommitdiff
path: root/keyboards/sofle/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/sofle/keymaps/default/keymap.c')
-rw-r--r--keyboards/sofle/keymaps/default/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/sofle/keymaps/default/keymap.c b/keyboards/sofle/keymaps/default/keymap.c
index 38200bfb7..2360a45d4 100644
--- a/keyboards/sofle/keymaps/default/keymap.c
+++ b/keyboards/sofle/keymaps/default/keymap.c
@@ -373,7 +373,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
373 373
374#ifdef ENCODER_ENABLE 374#ifdef ENCODER_ENABLE
375 375
376void encoder_update_user(uint8_t index, bool clockwise) { 376bool encoder_update_user(uint8_t index, bool clockwise) {
377 if (index == 0) { 377 if (index == 0) {
378 if (clockwise) { 378 if (clockwise) {
379 tap_code(KC_VOLU); 379 tap_code(KC_VOLU);
@@ -387,6 +387,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
387 tap_code(KC_PGUP); 387 tap_code(KC_PGUP);
388 } 388 }
389 } 389 }
390 return true;
390} 391}
391 392
392#endif 393#endif