summaryrefslogtreecommitdiff
path: root/keyboards/sofle/keymaps/default
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/sofle/keymaps/default')
-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 38200bfb7e..2360a45d47 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) {
#ifdef ENCODER_ENABLE
-void encoder_update_user(uint8_t index, bool clockwise) {
+bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) {
if (clockwise) {
tap_code(KC_VOLU);
@@ -387,6 +387,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
tap_code(KC_PGUP);
}
}
+ return true;
}
#endif