diff options
author | Joel Challis <[email protected]> | 2024-07-14 06:38:04 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-14 06:38:04 +0100 |
commit | c0aca9f45cce70d590f8644374b957b0161eaabc (patch) | |
tree | f66e31771c4f1ca8b0dc3183eb379d319ce63f0b /keyboards/clueboard/2x1800/2021 | |
parent | e76069ea4eb73d97c85cf0272fe14285fad32fb8 (diff) | |
download | qmk_firmware-c0aca9f45cce70d590f8644374b957b0161eaabc.tar.gz qmk_firmware-c0aca9f45cce70d590f8644374b957b0161eaabc.zip |
Various fixes for keyboards not implementing callbacks correctly (#24116)
Diffstat (limited to 'keyboards/clueboard/2x1800/2021')
-rw-r--r-- | keyboards/clueboard/2x1800/2021/2021.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/keyboards/clueboard/2x1800/2021/2021.c b/keyboards/clueboard/2x1800/2021/2021.c index 5274f76e9c..d140c1cf15 100644 --- a/keyboards/clueboard/2x1800/2021/2021.c +++ b/keyboards/clueboard/2x1800/2021/2021.c @@ -96,16 +96,11 @@ void matrix_init_kb(void) { matrix_init_user(); } -__attribute__ ((weak)) -bool encoder_update_keymap(int8_t index, bool clockwise) { - return false; -} - #define NUM_COLUMNS 8*MAX7219_CONTROLLERS uint8_t led_position[2] = {0,0}; // The location of the cursor in the matrix bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_keymap(index, clockwise)) { + if (encoder_update_user(index, clockwise)) { #if defined(DRAWING_TOY_MODE) // Encoder 1, left if (index == 0 && clockwise) { |