diff options
author | Nick Brassel <[email protected]> | 2021-01-21 22:24:07 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-21 22:24:07 +1100 |
commit | 1108210f1bee89c29b1bcd6105d0a7b48a53ca04 (patch) | |
tree | 683f90022bcfb142021862bdc4fc454cfbd7870e /quantum/encoder.h | |
parent | bdb757e189bf72c0ef382a924328642a629e06d5 (diff) | |
download | qmk_firmware-1108210f1bee89c29b1bcd6105d0a7b48a53ca04.tar.gz qmk_firmware-1108210f1bee89c29b1bcd6105d0a7b48a53ca04.zip |
Keep track of encoder activity (#11595)
* Keep track of encoder activity, provide API for either matrix/encoder.
* Fixup build when no RGBLIGHT or Backlight enabled.
Diffstat (limited to 'quantum/encoder.h')
-rw-r--r-- | quantum/encoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/encoder.h b/quantum/encoder.h index ec09a8cc47..db6f220da4 100644 --- a/quantum/encoder.h +++ b/quantum/encoder.h @@ -20,7 +20,7 @@ #include "quantum.h" void encoder_init(void); -void encoder_read(void); +bool encoder_read(void); void encoder_update_kb(int8_t index, bool clockwise); void encoder_update_user(int8_t index, bool clockwise); |