diff options
Diffstat (limited to 'keyboards/0xcb/1337/keymaps/jakob/keymap.c')
-rw-r--r-- | keyboards/0xcb/1337/keymaps/jakob/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/0xcb/1337/keymaps/jakob/keymap.c b/keyboards/0xcb/1337/keymaps/jakob/keymap.c index dc5ba6025..14427ee6d 100644 --- a/keyboards/0xcb/1337/keymaps/jakob/keymap.c +++ b/keyboards/0xcb/1337/keymaps/jakob/keymap.c | |||
@@ -50,7 +50,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
50 | 50 | ||
51 | /* rotary encoder (SW3) - add more else if blocks for more granular layer control */ | 51 | /* rotary encoder (SW3) - add more else if blocks for more granular layer control */ |
52 | #ifdef ENCODER_ENABLE | 52 | #ifdef ENCODER_ENABLE |
53 | void encoder_update_user(uint8_t index, bool clockwise) { | 53 | bool encoder_update_user(uint8_t index, bool clockwise) { |
54 | if (IS_LAYER_ON(_RGB)) { | 54 | if (IS_LAYER_ON(_RGB)) { |
55 | #ifdef RGBLIGHT_ENABLE | 55 | #ifdef RGBLIGHT_ENABLE |
56 | if (clockwise) { | 56 | if (clockwise) { |
@@ -72,6 +72,7 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
72 | tap_code16(C(A(KC_DOWN))); | 72 | tap_code16(C(A(KC_DOWN))); |
73 | } | 73 | } |
74 | } | 74 | } |
75 | return true; | ||
75 | } | 76 | } |
76 | #endif | 77 | #endif |
77 | 78 | ||