summaryrefslogtreecommitdiffstats
path: root/keyboards/7c8/framework/keymaps/via/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/7c8/framework/keymaps/via/keymap.c')
-rw-r--r--keyboards/7c8/framework/keymaps/via/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/7c8/framework/keymaps/via/keymap.c b/keyboards/7c8/framework/keymaps/via/keymap.c
index a2a353d85f..2fc572b4df 100644
--- a/keyboards/7c8/framework/keymaps/via/keymap.c
+++ b/keyboards/7c8/framework/keymaps/via/keymap.c
@@ -78,7 +78,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-void encoder_update_user(uint8_t index, bool clockwise) {
+bool encoder_update_user(uint8_t index, bool clockwise) {
uint8_t layer = get_highest_layer(layer_state);
if (index == 0) {
if (clockwise) {
@@ -87,4 +87,5 @@ void encoder_update_user(uint8_t index, bool clockwise) {
tap_code16(dynamic_keymap_get_keycode(layer, 10, 0));
}
}
+ return true;
}