diff options
Diffstat (limited to 'keyboards/delikeeb/vaguettelite/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/delikeeb/vaguettelite/keymaps/default/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/delikeeb/vaguettelite/keymaps/default/keymap.c b/keyboards/delikeeb/vaguettelite/keymaps/default/keymap.c index 8593526aa..98af7556a 100644 --- a/keyboards/delikeeb/vaguettelite/keymaps/default/keymap.c +++ b/keyboards/delikeeb/vaguettelite/keymaps/default/keymap.c | |||
@@ -106,7 +106,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
106 | return true; | 106 | return true; |
107 | } | 107 | } |
108 | 108 | ||
109 | void encoder_update_user(uint8_t index, bool clockwise) { | 109 | bool encoder_update_user(uint8_t index, bool clockwise) { |
110 | /* With an if statement we can check which encoder was turned. */ | 110 | /* With an if statement we can check which encoder was turned. */ |
111 | if (index == 0) { /* First encoder */ | 111 | if (index == 0) { /* First encoder */ |
112 | /* And with another if statement we can check the direction. */ | 112 | /* And with another if statement we can check the direction. */ |
@@ -131,4 +131,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
131 | tap_code(KC_LEFT); | 131 | tap_code(KC_LEFT); |
132 | } | 132 | } |
133 | } | 133 | } |
134 | return true; | ||
134 | } | 135 | } |