summaryrefslogtreecommitdiff
path: root/keyboards/mb44/keymaps/default
diff options
context:
space:
mode:
authormelonbred <61572569+melonbred@users.noreply.github.com>2021-07-01 00:12:53 -0700
committerGitHub <noreply@github.com>2021-07-01 00:12:53 -0700
commitcd68fd7e8d6d4e62afe30ab73af0a45391b0d4aa (patch)
tree11878f3d776d4437b697d763a03f37bc3bdb2a20 /keyboards/mb44/keymaps/default
parentdc3896e31c7335b2a24a3dca9cd890e5fd8df725 (diff)
downloadqmk_firmware-cd68fd7e8d6d4e62afe30ab73af0a45391b0d4aa.tar.gz
qmk_firmware-cd68fd7e8d6d4e62afe30ab73af0a45391b0d4aa.zip
[Keyboard] mb44 - Update info.json and encoder (#13244)
Diffstat (limited to 'keyboards/mb44/keymaps/default')
-rw-r--r--keyboards/mb44/keymaps/default/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/mb44/keymaps/default/keymap.c b/keyboards/mb44/keymaps/default/keymap.c
index 1659661f3b..5eac54e07e 100644
--- a/keyboards/mb44/keymaps/default/keymap.c
+++ b/keyboards/mb44/keymaps/default/keymap.c
@@ -50,7 +50,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);
@@ -58,4 +58,5 @@ void encoder_update_user(uint8_t index, bool clockwise) {
tap_code(KC_VOLU);
}
}
+ return true;
}