summaryrefslogtreecommitdiff
path: root/keyboards/planck/thk/keymaps
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-05-27 21:30:47 -0700
committerGitHub <noreply@github.com>2021-05-27 21:30:47 -0700
commitb96304930528c891f30686911884c8551db601fb (patch)
tree6a7d7504650483023bf68fd6e23c68ac8fc84749 /keyboards/planck/thk/keymaps
parent5386c4c7b293ae6473df3a81e40a072a42b085ad (diff)
Fix keyboards/keymaps for boolean encoder callback changes (#12985)
Diffstat (limited to 'keyboards/planck/thk/keymaps')
-rw-r--r--keyboards/planck/thk/keymaps/thk/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/planck/thk/keymaps/thk/keymap.c b/keyboards/planck/thk/keymaps/thk/keymap.c
index 44cd333703..948393b532 100644
--- a/keyboards/planck/thk/keymaps/thk/keymap.c
+++ b/keyboards/planck/thk/keymaps/thk/keymap.c
@@ -180,7 +180,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
bool encoder_mode = false;
-void encoder_update(bool clockwise) {
+bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) { /* First encoder */
if (clockwise) {
#ifdef MOUSEKEY_ENABLE
@@ -210,6 +210,7 @@ void encoder_update(bool clockwise) {
}
}
}
+ return true;
}
void dip_switch_update_user(uint8_t index, bool active) {