aboutsummaryrefslogtreecommitdiff
path: root/keyboards/minimacro5/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/minimacro5/keymaps/default/keymap.c')
-rw-r--r--keyboards/minimacro5/keymaps/default/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/minimacro5/keymaps/default/keymap.c b/keyboards/minimacro5/keymaps/default/keymap.c
index acd7f3283..d2f2910d7 100644
--- a/keyboards/minimacro5/keymaps/default/keymap.c
+++ b/keyboards/minimacro5/keymaps/default/keymap.c
@@ -4,7 +4,7 @@ enum layers {
4 _MAIN, 4 _MAIN,
5}; 5};
6 6
7void encoder_update_user(uint8_t index, bool clockwise) { 7bool encoder_update_user(uint8_t index, bool clockwise) {
8 if (index == 0) { /* First encoder*/ 8 if (index == 0) { /* First encoder*/
9 if (clockwise) { 9 if (clockwise) {
10 tap_code(KC_1); 10 tap_code(KC_1);
@@ -36,6 +36,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
36 tap_code(KC_0); 36 tap_code(KC_0);
37 } 37 }
38 } 38 }
39 return true;
39} 40}
40 41
41// 42//