aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mechlovin/adelais/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mechlovin/adelais/keymaps/default/keymap.c')
-rw-r--r--keyboards/mechlovin/adelais/keymaps/default/keymap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/mechlovin/adelais/keymaps/default/keymap.c b/keyboards/mechlovin/adelais/keymaps/default/keymap.c
index 19c298d4a..2a38663ed 100644
--- a/keyboards/mechlovin/adelais/keymaps/default/keymap.c
+++ b/keyboards/mechlovin/adelais/keymaps/default/keymap.c
@@ -32,7 +32,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
32}; 32};
33 33
34#ifdef ENCODER_ENABLE 34#ifdef ENCODER_ENABLE
35void encoder_update_user(uint8_t index, bool clockwise) { 35bool encoder_update_user(uint8_t index, bool clockwise) {
36 if (index == 0) { 36 if (index == 0) {
37 if (clockwise) { 37 if (clockwise) {
38 tap_code(KC_VOLU); 38 tap_code(KC_VOLU);
@@ -54,6 +54,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
54 tap_code(KC_DOWN); 54 tap_code(KC_DOWN);
55 } 55 }
56 } 56 }
57 return true;
57} 58}
58 59
59 #endif \ No newline at end of file 60 #endif