diff options
Diffstat (limited to 'keyboards/program_yoink/program_yoink.c')
| -rw-r--r-- | keyboards/program_yoink/program_yoink.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/program_yoink/program_yoink.c b/keyboards/program_yoink/program_yoink.c index e549c98e9..a974d7f6f 100644 --- a/keyboards/program_yoink/program_yoink.c +++ b/keyboards/program_yoink/program_yoink.c | |||
| @@ -15,3 +15,14 @@ | |||
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | #include "program_yoink.h" | 17 | #include "program_yoink.h" |
| 18 | |||
| 19 | __attribute__ ((weak)) | ||
| 20 | void encoder_update_user(uint8_t index, bool clockwise) { | ||
| 21 | if (index == 0) { | ||
| 22 | if (clockwise) { | ||
| 23 | tap_code(KC_VOLU); | ||
| 24 | } else { | ||
| 25 | tap_code(KC_VOLD); | ||
| 26 | } | ||
| 27 | } | ||
| 28 | } | ||
