diff options
Diffstat (limited to 'keyboards/kyria/keymaps/mattir/keymap.c')
-rw-r--r-- | keyboards/kyria/keymaps/mattir/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/kyria/keymaps/mattir/keymap.c b/keyboards/kyria/keymaps/mattir/keymap.c index 81a9e1eeb6..0ee0f3d852 100644 --- a/keyboards/kyria/keymaps/mattir/keymap.c +++ b/keyboards/kyria/keymaps/mattir/keymap.c @@ -204,7 +204,7 @@ void oled_task_user(void) { // Layer-specific encoder knob functions #ifdef ENCODER_ENABLE -void encoder_update_user(uint8_t index, bool clockwise) { +bool encoder_update_user(uint8_t index, bool clockwise) { if (index == 0) { // left knob switch (get_highest_layer(layer_state)) { case QWERTY: // Volume @@ -287,5 +287,6 @@ void encoder_update_user(uint8_t index, bool clockwise) { break; } } + return true; } #endif |