diff options
Diffstat (limited to 'keyboards/delikeeb/vanana/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/delikeeb/vanana/keymaps/default/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/delikeeb/vanana/keymaps/default/keymap.c b/keyboards/delikeeb/vanana/keymaps/default/keymap.c index af7a706cc..281bb36ac 100644 --- a/keyboards/delikeeb/vanana/keymaps/default/keymap.c +++ b/keyboards/delikeeb/vanana/keymaps/default/keymap.c | |||
@@ -117,7 +117,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
117 | return true; | 117 | return true; |
118 | } | 118 | } |
119 | 119 | ||
120 | void encoder_update_user(uint8_t index, bool clockwise) { | 120 | bool encoder_update_user(uint8_t index, bool clockwise) { |
121 | /* With an if statement we can check which encoder was turned. */ | 121 | /* With an if statement we can check which encoder was turned. */ |
122 | if (index == 0) { /* First encoder */ | 122 | if (index == 0) { /* First encoder */ |
123 | /* And with another if statement we can check the direction. */ | 123 | /* And with another if statement we can check the direction. */ |
@@ -158,4 +158,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
158 | } | 158 | } |
159 | } | 159 | } |
160 | } | 160 | } |
161 | return true; | ||
161 | } | 162 | } |