diff options
| author | Joel Challis <git@zvecr.com> | 2020-06-03 00:54:53 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-03 00:54:53 +0100 | 
| commit | d17572b125113928b56e19bfaefae5d13a912f5e (patch) | |
| tree | 76bfa45b253f28361da86f5d902103022fc57f85 /tmk_core/common | |
| parent | 517d607fa4292a03fb8a880a07d27cb14020ed1d (diff) | |
| parent | 406dc2fb2d1e657db2d7235885722dd86d07ea08 (diff) | |
Move encoder_read to common location (#9003)
Diffstat (limited to 'tmk_core/common')
| -rw-r--r-- | tmk_core/common/keyboard.c | 10 | 
1 files changed, 10 insertions, 0 deletions
diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c index e2110363a6..714c3d048f 100644 --- a/tmk_core/common/keyboard.c +++ b/tmk_core/common/keyboard.c @@ -53,6 +53,9 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  #ifdef RGBLIGHT_ENABLE  #    include "rgblight.h"  #endif +#ifdef ENCODER_ENABLE +#    include "encoder.h" +#endif  #ifdef STENO_ENABLE  #    include "process_steno.h"  #endif @@ -259,6 +262,9 @@ void keyboard_init(void) {  #ifdef RGBLIGHT_ENABLE      rgblight_init();  #endif +#ifdef ENCODER_ENABLE +    encoder_init(); +#endif  #ifdef STENO_ENABLE      steno_init();  #endif @@ -359,6 +365,10 @@ MATRIX_LOOP_END:  #    endif  #endif +#ifdef ENCODER_ENABLE +    encoder_read(); +#endif +  #ifdef QWIIC_ENABLE      qwiic_task();  #endif  | 
