aboutsummaryrefslogtreecommitdiff
path: root/keyboards/tunks/ergo33/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/tunks/ergo33/keymaps/default/keymap.c')
-rw-r--r--keyboards/tunks/ergo33/keymaps/default/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/tunks/ergo33/keymaps/default/keymap.c b/keyboards/tunks/ergo33/keymaps/default/keymap.c
index 664f7b415..7234acf1d 100644
--- a/keyboards/tunks/ergo33/keymaps/default/keymap.c
+++ b/keyboards/tunks/ergo33/keymaps/default/keymap.c
@@ -46,7 +46,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
46}; 46};
47 47
48#ifdef ENCODER_ENABLE 48#ifdef ENCODER_ENABLE
49void encoder_update_user(uint8_t index, bool clockwise) { 49bool encoder_update_user(uint8_t index, bool clockwise) {
50 if (index == 0) { 50 if (index == 0) {
51 if (clockwise) { 51 if (clockwise) {
52 tap_code(KC_MS_WH_DOWN); 52 tap_code(KC_MS_WH_DOWN);
@@ -54,6 +54,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
54 tap_code(KC_MS_WH_UP); 54 tap_code(KC_MS_WH_UP);
55 } 55 }
56 } 56 }
57 return true;
57} 58}
58#endif 59#endif
59 60