aboutsummaryrefslogtreecommitdiffstats
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.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/metamechs/timberwolf/timberwolf.c b/keyboards/metamechs/timberwolf/timberwolf.c
index c9a750f45..af6d42a54 100644
--- a/keyboards/metamechs/timberwolf/timberwolf.c
+++ b/keyboards/metamechs/timberwolf/timberwolf.c
@@ -27,3 +27,12 @@ bool led_update_kb(led_t led_state) {
}
return runDefault;
}
+
+__attribute__((weak))
+void encoder_update_user(uint8_t index, bool clockwise) {
+ if (clockwise) {
+ tap_code(KC_VOLU);
+ } else {
+ tap_code(KC_VOLD);
+ }
+}