summaryrefslogtreecommitdiff
path: root/keyboards/tkw/stoutgat/v2/keymaps/ansi/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/tkw/stoutgat/v2/keymaps/ansi/keymap.c')
-rw-r--r--keyboards/tkw/stoutgat/v2/keymaps/ansi/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/tkw/stoutgat/v2/keymaps/ansi/keymap.c b/keyboards/tkw/stoutgat/v2/keymaps/ansi/keymap.c
index 618d336cdb..4a3a83e45a 100644
--- a/keyboards/tkw/stoutgat/v2/keymaps/ansi/keymap.c
+++ b/keyboards/tkw/stoutgat/v2/keymaps/ansi/keymap.c
@@ -27,7 +27,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
#ifdef ENCODER_ENABLE
-void encoder_update_user(uint8_t index, bool clockwise){
+bool encoder_update_user(uint8_t index, bool clockwise){
if (index == 0) {
switch (get_highest_layer(layer_state)) {
@@ -68,5 +68,6 @@ void encoder_update_user(uint8_t index, bool clockwise){
break;
}
}
+ return true;
}
#endif