summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/nick
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-07-24 00:37:19 -0700
committerGitHub <noreply@github.com>2021-07-24 00:37:19 -0700
commitb8a1e14f53489eea63bd747d1b94d7d9b7da5ac9 (patch)
tree962a82138ba7db677d9ee90e4de44053bdddb017 /keyboards/planck/keymaps/nick
parent73d4d7dc2bcad7ed7e4d3bdb33aacc18c374c8a9 (diff)
downloadqmk_firmware-b8a1e14f53489eea63bd747d1b94d7d9b7da5ac9.tar.gz
qmk_firmware-b8a1e14f53489eea63bd747d1b94d7d9b7da5ac9.zip
Remove deprecated callbacks for encoders and dip switches (#13404)
Diffstat (limited to 'keyboards/planck/keymaps/nick')
-rw-r--r--keyboards/planck/keymaps/nick/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/planck/keymaps/nick/keymap.c b/keyboards/planck/keymaps/nick/keymap.c
index 4fcba80797..d75a91edb6 100644
--- a/keyboards/planck/keymaps/nick/keymap.c
+++ b/keyboards/planck/keymaps/nick/keymap.c
@@ -109,7 +109,7 @@ layer_state_t layer_state_set_user(layer_state_t state) {
return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
}
-bool encoder_update(bool clockwise) {
+bool encoder_update_user(uint8_t index, bool clockwise) {
if (clockwise && !IS_LAYER_ON(_RAISE)) {
tap_code(KC_MS_WH_DOWN);
} else if (!clockwise && !IS_LAYER_ON(_RAISE)) {