X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=quantum%2Fsplit_common%2Fmatrix.c;h=eb110bd23adeceec56b2adea151c670bfd534595;hb=63177760deaf23bb1f676974cecf211676285604;hp=dcb96254f583a15e844e542115415ce75e3497db;hpb=17e7762de7e3fdfc61c20aa61022f47370630c6a;p=qmk_firmware.git diff --git a/quantum/split_common/matrix.c b/quantum/split_common/matrix.c index dcb96254f..eb110bd23 100644 --- a/quantum/split_common/matrix.c +++ b/quantum/split_common/matrix.c @@ -29,6 +29,10 @@ along with this program. If not, see . #include "debounce.h" #include "transport.h" +#ifdef ENCODER_ENABLE + #include "encoder.h" +#endif + #if (MATRIX_COLS <= 8) # define print_matrix_header() print("\nr/c 01234567\n") # define print_matrix_row(row) print_bin_reverse8(matrix_get_row(row)) @@ -320,6 +324,9 @@ uint8_t matrix_scan(void) { matrix_scan_quantum(); } else { transport_slave(matrix + thisHand); +#ifdef ENCODER_ENABLE + encoder_read(); +#endif matrix_slave_scan_user(); }