aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mb44/keymaps/2u_space/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mb44/keymaps/2u_space/keymap.c')
-rw-r--r--keyboards/mb44/keymaps/2u_space/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/mb44/keymaps/2u_space/keymap.c b/keyboards/mb44/keymaps/2u_space/keymap.c
index b2f1fb64b..c3f654337 100644
--- a/keyboards/mb44/keymaps/2u_space/keymap.c
+++ b/keyboards/mb44/keymaps/2u_space/keymap.c
@@ -48,7 +48,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
48}; 48};
49 49
50// Rotary Encoder Functions 50// Rotary Encoder Functions
51void encoder_update_user(uint8_t index, bool clockwise) { 51bool encoder_update_user(uint8_t index, bool clockwise) {
52 if (index == 0) { /* First encoder */ 52 if (index == 0) { /* First encoder */
53 if (clockwise) { 53 if (clockwise) {
54 tap_code(KC_VOLD); 54 tap_code(KC_VOLD);
@@ -56,4 +56,5 @@ void encoder_update_user(uint8_t index, bool clockwise) {
56 tap_code(KC_VOLU); 56 tap_code(KC_VOLU);
57 } 57 }
58 } 58 }
59 return true;
59} 60}