diff options
author | Drashna Jaelre <drashna@live.com> | 2021-07-24 00:37:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-24 00:37:19 -0700 |
commit | b8a1e14f53489eea63bd747d1b94d7d9b7da5ac9 (patch) | |
tree | 962a82138ba7db677d9ee90e4de44053bdddb017 /keyboards/handwired | |
parent | 73d4d7dc2bcad7ed7e4d3bdb33aacc18c374c8a9 (diff) | |
download | qmk_firmware-b8a1e14f53489eea63bd747d1b94d7d9b7da5ac9.tar.gz qmk_firmware-b8a1e14f53489eea63bd747d1b94d7d9b7da5ac9.zip |
Remove deprecated callbacks for encoders and dip switches (#13404)
Diffstat (limited to 'keyboards/handwired')
-rw-r--r-- | keyboards/handwired/daishi/daishi.h | 2 | ||||
-rw-r--r-- | keyboards/handwired/daishi/keymaps/default/keymap.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/handwired/daishi/daishi.h b/keyboards/handwired/daishi/daishi.h index 49e3775897..0d0c57ab20 100644 --- a/keyboards/handwired/daishi/daishi.h +++ b/keyboards/handwired/daishi/daishi.h @@ -2,8 +2,6 @@ #include "quantum.h" -#define encoder_update(clockwise) encoder_update_user(uint8_t index, clockwise) - // The first section contains all of the arguments // The second converts the arguments into a two-dimensional array #define LAYOUT( \ diff --git a/keyboards/handwired/daishi/keymaps/default/keymap.c b/keyboards/handwired/daishi/keymaps/default/keymap.c index 5214e8b6f4..a1ef825ff2 100644 --- a/keyboards/handwired/daishi/keymaps/default/keymap.c +++ b/keyboards/handwired/daishi/keymaps/default/keymap.c @@ -82,8 +82,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { return true; }; -bool encoder_update(bool clockwise) { - if (clockwise) { +bool encoder_update_user(uint8_t index, bool clockwise) { + if (clockwise) { tap_code(KC_VOLU); } else { tap_code(KC_VOLD); |