diff options
Diffstat (limited to 'keyboards/mechlovin/adelais/keymaps/via/keymap.c')
-rw-r--r-- | keyboards/mechlovin/adelais/keymaps/via/keymap.c | 5 |
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 2ebd6a120..6ab566e1c 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] = { | |||
44 | }; | 44 | }; |
45 | 45 | ||
46 | #ifdef ENCODER_ENABLE | 46 | #ifdef ENCODER_ENABLE |
47 | void encoder_update_user(uint8_t index, bool clockwise) { | 47 | bool encoder_update_user(uint8_t index, bool clockwise) { |
48 | if (index == 0) { | 48 | if (index == 0) { |
49 | if (clockwise) { | 49 | if (clockwise) { |
50 | tap_code(KC_VOLD); | 50 | tap_code(KC_VOLD); |
@@ -66,6 +66,7 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
66 | tap_code(KC_DOWN); | 66 | tap_code(KC_DOWN); |
67 | } | 67 | } |
68 | } | 68 | } |
69 | return true; | ||
69 | } | 70 | } |
70 | 71 | ||
71 | #endif \ No newline at end of file | 72 | #endif |