summaryrefslogtreecommitdiff
path: root/keyboards/ramonimbao/squishytkl/keymaps/default/keymap.c
diff options
context:
space:
mode:
authorXelus22 <17491233+Xelus22@users.noreply.github.com>2021-06-29 13:30:39 +1000
committerGitHub <noreply@github.com>2021-06-28 20:30:39 -0700
commitde8939aa5efb1dea9c048c3254b0462f6e21e822 (patch)
treeb1e91d35882a6fa8e236456c8cf914e2b34413aa /keyboards/ramonimbao/squishytkl/keymaps/default/keymap.c
parent2b2e8bfdb7091cdc0587f7445df84d2414fa7207 (diff)
downloadqmk_firmware-de8939aa5efb1dea9c048c3254b0462f6e21e822.tar.gz
qmk_firmware-de8939aa5efb1dea9c048c3254b0462f6e21e822.zip
[Keyboard] fix encoder void to bool (#13334)
Diffstat (limited to 'keyboards/ramonimbao/squishytkl/keymaps/default/keymap.c')
-rw-r--r--keyboards/ramonimbao/squishytkl/keymaps/default/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/ramonimbao/squishytkl/keymaps/default/keymap.c b/keyboards/ramonimbao/squishytkl/keymaps/default/keymap.c
index c55c4aed68..4abf503ddf 100644
--- a/keyboards/ramonimbao/squishytkl/keymaps/default/keymap.c
+++ b/keyboards/ramonimbao/squishytkl/keymaps/default/keymap.c
@@ -26,10 +26,11 @@ 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) {
if (clockwise) {
tap_code(KC_VOLU);
} else {
tap_code(KC_VOLD);
}
+ return true;
}