summaryrefslogtreecommitdiff
path: root/keyboards/metamechs/timberwolf/timberwolf.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/metamechs/timberwolf/timberwolf.c')
-rw-r--r--keyboards/metamechs/timberwolf/timberwolf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/metamechs/timberwolf/timberwolf.c b/keyboards/metamechs/timberwolf/timberwolf.c
index af6d42a54e..16aea12594 100644
--- a/keyboards/metamechs/timberwolf/timberwolf.c
+++ b/keyboards/metamechs/timberwolf/timberwolf.c
@@ -28,11 +28,12 @@ bool led_update_kb(led_t led_state) {
return runDefault;
}
-__attribute__((weak))
-void encoder_update_user(uint8_t index, bool clockwise) {
+bool encoder_update_kb(uint8_t index, bool clockwise) {
+ if (!encoder_update_user(index, clockwise)) return false;
if (clockwise) {
tap_code(KC_VOLU);
} else {
tap_code(KC_VOLD);
}
+ return true;
}