diff options
Diffstat (limited to 'layouts/community/ortho_4x12/bocaj/keymap.c')
-rw-r--r-- | layouts/community/ortho_4x12/bocaj/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/community/ortho_4x12/bocaj/keymap.c b/layouts/community/ortho_4x12/bocaj/keymap.c index 89d4d1d9a..6adbb6d61 100644 --- a/layouts/community/ortho_4x12/bocaj/keymap.c +++ b/layouts/community/ortho_4x12/bocaj/keymap.c | |||
@@ -237,7 +237,7 @@ void rgb_matrix_indicators_user(void) { | |||
237 | void matrix_init_keymap(void) {} | 237 | void matrix_init_keymap(void) {} |
238 | 238 | ||
239 | #ifdef ENCODER_ENABLE | 239 | #ifdef ENCODER_ENABLE |
240 | void encoder_update(bool clockwise) { | 240 | bool encoder_update_user(uint8_t index, bool clockwise) { |
241 | switch (get_highest_layer(layer_state)) { | 241 | switch (get_highest_layer(layer_state)) { |
242 | case _RAISE: | 242 | case _RAISE: |
243 | clockwise ? tap_code(KC_VOLD) : tap_code(KC_VOLU); | 243 | clockwise ? tap_code(KC_VOLD) : tap_code(KC_VOLU); |
@@ -260,6 +260,7 @@ void encoder_update(bool clockwise) { | |||
260 | # ifdef AUDIO_CLICKY | 260 | # ifdef AUDIO_CLICKY |
261 | clicky_play(); | 261 | clicky_play(); |
262 | # endif | 262 | # endif |
263 | return true; | ||
263 | } | 264 | } |
264 | #endif // ENCODER_ENABLE | 265 | #endif // ENCODER_ENABLE |
265 | 266 | ||