summaryrefslogtreecommitdiff
path: root/keyboards/handwired/amigopunk/keymaps/default
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/amigopunk/keymaps/default')
-rw-r--r--keyboards/handwired/amigopunk/keymaps/default/keymap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/handwired/amigopunk/keymaps/default/keymap.c b/keyboards/handwired/amigopunk/keymaps/default/keymap.c
index 7aed2a61cf..cdfe974024 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;
+ return false;
tap_code(clockwise ? KC_VOLU : KC_VOLD);
+ return true;
}
#endif