summaryrefslogtreecommitdiff
path: root/keyboards/kyria/keymaps/j-inc/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kyria/keymaps/j-inc/keymap.c')
-rw-r--r--keyboards/kyria/keymaps/j-inc/keymap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/kyria/keymaps/j-inc/keymap.c b/keyboards/kyria/keymaps/j-inc/keymap.c
index 77f9d442d3..d842e4c2b9 100644
--- a/keyboards/kyria/keymaps/j-inc/keymap.c
+++ b/keyboards/kyria/keymaps/j-inc/keymap.c
@@ -334,7 +334,7 @@ void oled_task_user(void) {
#endif
#ifdef ENCODER_ENABLE
-void encoder_update_user(uint8_t index, bool clockwise) {
+bool encoder_update_user(uint8_t index, bool clockwise) {
switch(biton32(layer_state)){
case 1:
if (clockwise) {
@@ -356,7 +356,9 @@ void encoder_update_user(uint8_t index, bool clockwise) {
}
break;
}
+ return true;
}
+
void matrix_scan_user(void) {
if (is_alt_tab_active) {
if (timer_elapsed(alt_tab_timer) > 1250) {