Remove deprecated callbacks for encoders and dip switches (#13404)
This commit is contained in:
parent
73d4d7dc2b
commit
b8a1e14f53
59 changed files with 338 additions and 458 deletions
|
@ -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( \
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue