summaryrefslogtreecommitdiffstats
path: root/keyboards/doodboard/duckboard_r2/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/doodboard/duckboard_r2/keymaps/default/keymap.c')
-rw-r--r--keyboards/doodboard/duckboard_r2/keymaps/default/keymap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/doodboard/duckboard_r2/keymaps/default/keymap.c b/keyboards/doodboard/duckboard_r2/keymaps/default/keymap.c
index e782acba01..40b685d1d6 100644
--- a/keyboards/doodboard/duckboard_r2/keymaps/default/keymap.c
+++ b/keyboards/doodboard/duckboard_r2/keymaps/default/keymap.c
@@ -38,14 +38,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
TG(2), RESET, KC_TRNS, KC_TRNS, KC_TRNS),
};
-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_VOLU);
} else {
tap_code(KC_VOLD);
}
-}
+ }
+ return true;
}