aboutsummaryrefslogtreecommitdiff
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 af6d42a54..16aea1259 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) {
28 return runDefault; 28 return runDefault;
29} 29}
30 30
31__attribute__((weak)) 31bool encoder_update_kb(uint8_t index, bool clockwise) {
32void encoder_update_user(uint8_t index, bool clockwise) { 32 if (!encoder_update_user(index, clockwise)) return false;
33 if (clockwise) { 33 if (clockwise) {
34 tap_code(KC_VOLU); 34 tap_code(KC_VOLU);
35 } else { 35 } else {
36 tap_code(KC_VOLD); 36 tap_code(KC_VOLD);
37 } 37 }
38 return true;
38} 39}