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.
This commit is contained in:
Nick Brassel authored and GitHub committed 2021-01-21 22:24:07 +11:00
1 parent bdb757e189
commit 1108210f1b
4 files changed
+46 -8

No files matched your search

+1 -1
View File
@@ -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);