summaryrefslogtreecommitdiff
path: root/keyboards/minimacro5/keymaps/default
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/minimacro5/keymaps/default')
-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 acd7f32831..d2f2910d75 100644
--- a/keyboards/minimacro5/keymaps/default/keymap.c
+++ b/keyboards/minimacro5/keymaps/default/keymap.c
@@ -4,7 +4,7 @@ enum layers {
_MAIN,
};
-void encoder_update_user(uint8_t index, bool clockwise) {
+bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) { /* First encoder*/
if (clockwise) {
tap_code(KC_1);
@@ -36,6 +36,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
tap_code(KC_0);
}
}
+ return true;
}
//