aboutsummaryrefslogtreecommitdiff
path: root/keyboards/program_yoink/program_yoink.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-01-23 02:03:09 +0000
committerQMK Bot <hello@qmk.fm>2021-01-23 02:03:09 +0000
commit08b37a58bb1c6eb624fe59d863a777f87ecdb741 (patch)
tree6e4e5fd5d0261dede9488f2a668416d140154306 /keyboards/program_yoink/program_yoink.c
parenta07c2a137708f8e2b6e1440d386569b97d613cc5 (diff)
parent3a7573436ae6ab20973389a4051a8785399539f2 (diff)
downloadqmk_firmware-08b37a58bb1c6eb624fe59d863a777f87ecdb741.tar.gz
qmk_firmware-08b37a58bb1c6eb624fe59d863a777f87ecdb741.zip
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.c11
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))
20void 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}