diff options
Diffstat (limited to 'keyboards/kiwikeebs/macro/macro.c')
-rw-r--r-- | keyboards/kiwikeebs/macro/macro.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/kiwikeebs/macro/macro.c b/keyboards/kiwikeebs/macro/macro.c index 3d5ab1661..5eb03509e 100644 --- a/keyboards/kiwikeebs/macro/macro.c +++ b/keyboards/kiwikeebs/macro/macro.c | |||
@@ -16,7 +16,8 @@ | |||
16 | 16 | ||
17 | #include "macro.h" | 17 | #include "macro.h" |
18 | 18 | ||
19 | void encoder_update_kb(uint8_t index, bool clockwise) { | 19 | bool encoder_update_kb(uint8_t index, bool clockwise) { |
20 | if (!encoder_update_user(index, clockwise)) return false; | ||
20 | if (index == 0) { /* First encoder */ | 21 | if (index == 0) { /* First encoder */ |
21 | if (clockwise) { | 22 | if (clockwise) { |
22 | tap_code(KC_AUDIO_VOL_UP); | 23 | tap_code(KC_AUDIO_VOL_UP); |
@@ -24,4 +25,5 @@ void encoder_update_kb(uint8_t index, bool clockwise) { | |||
24 | tap_code(KC_AUDIO_VOL_DOWN); | 25 | tap_code(KC_AUDIO_VOL_DOWN); |
25 | } | 26 | } |
26 | } | 27 | } |
27 | } \ No newline at end of file | 28 | return true; |
29 | } | ||