summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/amigopunk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/amigopunk')
-rw-r--r--keyboards/handwired/amigopunk/keymaps/default/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/handwired/amigopunk/keymaps/default/keymap.c b/keyboards/handwired/amigopunk/keymaps/default/keymap.c
index 7aed2a61cf..70c6e7725a 100644
--- a/keyboards/handwired/amigopunk/keymaps/default/keymap.c
+++ b/keyboards/handwired/amigopunk/keymaps/default/keymap.c
@@ -37,11 +37,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
#ifdef ENCODER_ENABLE
-void encoder_update_user(uint8_t index, bool clockwise) {
+bool encoder_update_user(uint8_t index, bool clockwise) {
if (index != 0)
return;
tap_code(clockwise ? KC_VOLU : KC_VOLD);
+ return true;
}
#endif