summaryrefslogtreecommitdiff
path: root/keyboards/planck
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2021-10-20 11:07:31 -0700
committerDrashna Jael're <drashna@live.com>2021-10-20 11:07:31 -0700
commit6fa37edf5ed7e4eb5347e5350ed15a0fd9600331 (patch)
treeeea34ffbee107474150ffcd9628f3beb88f35b35 /keyboards/planck
parentaf3b9c8834018698ebaf570163276f61d74d0b02 (diff)
Fix planck webusb keymap
Diffstat (limited to 'keyboards/planck')
-rw-r--r--keyboards/planck/keymaps/webusb/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/planck/keymaps/webusb/keymap.c b/keyboards/planck/keymaps/webusb/keymap.c
index f9d6998940..ee77bf007c 100644
--- a/keyboards/planck/keymaps/webusb/keymap.c
+++ b/keyboards/planck/keymaps/webusb/keymap.c
@@ -68,7 +68,7 @@ uint16_t muse_counter = 0;
uint8_t muse_offset = 70;
uint16_t muse_tempo = 50;
-void encoder_update(bool clockwise) {
+bool encoder_update_user(uint8_t index, bool clockwise) {
if (muse_mode) {
if (IS_LAYER_ON(_RAISE)) {
if (clockwise) {
@@ -102,6 +102,7 @@ void encoder_update(bool clockwise) {
#endif
}
}
+ return false;
}
void matrix_scan_user(void) {