aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/amigopunk/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/amigopunk/keymaps/default/keymap.c')
-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 7aed2a61c..70c6e7725 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] = {
37}; 37};
38 38
39#ifdef ENCODER_ENABLE 39#ifdef ENCODER_ENABLE
40void encoder_update_user(uint8_t index, bool clockwise) { 40bool encoder_update_user(uint8_t index, bool clockwise) {
41 if (index != 0) 41 if (index != 0)
42 return; 42 return;
43 43
44 tap_code(clockwise ? KC_VOLU : KC_VOLD); 44 tap_code(clockwise ? KC_VOLU : KC_VOLD);
45 return true;
45} 46}
46#endif 47#endif
47 48