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