summaryrefslogtreecommitdiff
path: root/keyboards/mb44/keymaps/2u1u_space
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mb44/keymaps/2u1u_space')
-rw-r--r--keyboards/mb44/keymaps/2u1u_space/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/mb44/keymaps/2u1u_space/keymap.c b/keyboards/mb44/keymaps/2u1u_space/keymap.c
index 437a90c7b3..d231d63301 100644
--- a/keyboards/mb44/keymaps/2u1u_space/keymap.c
+++ b/keyboards/mb44/keymaps/2u1u_space/keymap.c
@@ -48,7 +48,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
// Rotary Encoder Functions
-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_VOLD);
@@ -56,4 +56,5 @@ void encoder_update_user(uint8_t index, bool clockwise) {
tap_code(KC_VOLU);
}
}
+ return true;
}