diff options
Diffstat (limited to 'keyboards/metamechs/timberwolf/timberwolf.c')
| -rw-r--r-- | keyboards/metamechs/timberwolf/timberwolf.c | 9 |
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) { | |||
| 27 | } | 27 | } |
| 28 | return runDefault; | 28 | return runDefault; |
| 29 | } | 29 | } |
| 30 | |||
| 31 | __attribute__((weak)) | ||
| 32 | void encoder_update_user(uint8_t index, bool clockwise) { | ||
| 33 | if (clockwise) { | ||
| 34 | tap_code(KC_VOLU); | ||
| 35 | } else { | ||
| 36 | tap_code(KC_VOLD); | ||
| 37 | } | ||
| 38 | } | ||
