summaryrefslogtreecommitdiff
path: root/keyboards/marksard/leftover30/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/marksard/leftover30/keymaps')
-rw-r--r--keyboards/marksard/leftover30/keymaps/default/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/marksard/leftover30/keymaps/default/keymap.c b/keyboards/marksard/leftover30/keymaps/default/keymap.c
index b8d9973330..c0779cfa06 100644
--- a/keyboards/marksard/leftover30/keymaps/default/keymap.c
+++ b/keyboards/marksard/leftover30/keymaps/default/keymap.c
@@ -135,7 +135,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return result;
}
-void encoder_update_user(uint8_t index, bool clockwise) {
+bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) {
if (IS_LAYER_ON(_ADJUST)) {
if (clockwise) {
@@ -150,8 +150,8 @@ void encoder_update_user(uint8_t index, bool clockwise) {
} else {
tap_code((clockwise == true) ? KC_WH_D : KC_WH_U);
}
-
}
+ return true;
}
// for exsample customize of LED inducator