diff options
Diffstat (limited to 'keyboards/tunks/ergo33/keymaps/prpro/keymap.c')
-rw-r--r-- | keyboards/tunks/ergo33/keymaps/prpro/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/tunks/ergo33/keymaps/prpro/keymap.c b/keyboards/tunks/ergo33/keymaps/prpro/keymap.c index 2ccba8b1e..db49eeb7f 100644 --- a/keyboards/tunks/ergo33/keymaps/prpro/keymap.c +++ b/keyboards/tunks/ergo33/keymaps/prpro/keymap.c | |||
@@ -91,7 +91,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
91 | }; | 91 | }; |
92 | 92 | ||
93 | #ifdef ENCODER_ENABLE | 93 | #ifdef ENCODER_ENABLE |
94 | void encoder_update_user(uint8_t index, bool clockwise) { | 94 | bool encoder_update_user(uint8_t index, bool clockwise) { |
95 | if (index == 0) { | 95 | if (index == 0) { |
96 | if (clockwise) { | 96 | if (clockwise) { |
97 | tap_code(KC_MS_WH_DOWN); | 97 | tap_code(KC_MS_WH_DOWN); |
@@ -99,6 +99,7 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
99 | tap_code(KC_MS_WH_UP); | 99 | tap_code(KC_MS_WH_UP); |
100 | } | 100 | } |
101 | } | 101 | } |
102 | return true; | ||
102 | } | 103 | } |
103 | #endif | 104 | #endif |
104 | 105 | ||