diff options
author | QMK Bot <hello@qmk.fm> | 2021-01-23 02:03:09 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-01-23 02:03:09 +0000 |
commit | 08b37a58bb1c6eb624fe59d863a777f87ecdb741 (patch) | |
tree | 6e4e5fd5d0261dede9488f2a668416d140154306 /keyboards/program_yoink/program_yoink.c | |
parent | a07c2a137708f8e2b6e1440d386569b97d613cc5 (diff) | |
parent | 3a7573436ae6ab20973389a4051a8785399539f2 (diff) |
Merge remote-tracking branch 'origin/master' into develop
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 e549c98e93..a974d7f6fa 100644 --- a/keyboards/program_yoink/program_yoink.c +++ b/keyboards/program_yoink/program_yoink.c @@ -15,3 +15,14 @@ */ #include "program_yoink.h" + +__attribute__ ((weak)) +void encoder_update_user(uint8_t index, bool clockwise) { + if (index == 0) { + if (clockwise) { + tap_code(KC_VOLU); + } else { + tap_code(KC_VOLD); + } + } +} |