diff options
Diffstat (limited to 'keyboards/program_yoink/program_yoink.c')
-rw-r--r-- | keyboards/program_yoink/program_yoink.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/program_yoink/program_yoink.c b/keyboards/program_yoink/program_yoink.c index a974d7f6f..7733aa2ad 100644 --- a/keyboards/program_yoink/program_yoink.c +++ b/keyboards/program_yoink/program_yoink.c | |||
@@ -16,8 +16,8 @@ | |||
16 | 16 | ||
17 | #include "program_yoink.h" | 17 | #include "program_yoink.h" |
18 | 18 | ||
19 | __attribute__ ((weak)) | 19 | bool encoder_update_kb(uint8_t index, bool clockwise) { |
20 | void encoder_update_user(uint8_t index, bool clockwise) { | 20 | if (!encoder_update_user(index, clockwise)) return false; |
21 | if (index == 0) { | 21 | if (index == 0) { |
22 | if (clockwise) { | 22 | if (clockwise) { |
23 | tap_code(KC_VOLU); | 23 | tap_code(KC_VOLU); |
@@ -25,4 +25,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
25 | tap_code(KC_VOLD); | 25 | tap_code(KC_VOLD); |
26 | } | 26 | } |
27 | } | 27 | } |
28 | return true; | ||
28 | } | 29 | } |