summaryrefslogtreecommitdiff
path: root/keyboards/mechlovin/adelais/keymaps/via/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mechlovin/adelais/keymaps/via/keymap.c')
-rw-r--r--keyboards/mechlovin/adelais/keymaps/via/keymap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/mechlovin/adelais/keymaps/via/keymap.c b/keyboards/mechlovin/adelais/keymaps/via/keymap.c
index 2ebd6a1206..6ab566e1c3 100644
--- a/keyboards/mechlovin/adelais/keymaps/via/keymap.c
+++ b/keyboards/mechlovin/adelais/keymaps/via/keymap.c
@@ -44,7 +44,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
#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_VOLD);
@@ -66,6 +66,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
tap_code(KC_DOWN);
}
}
+ return true;
}
- #endif \ No newline at end of file
+ #endif