|
|
@ -111,7 +111,7 @@ bool matrix_post_scan(void) { |
|
|
|
|
|
|
|
|
|
|
|
if (changed) memcpy(matrix + thatHand, slave_matrix, sizeof(slave_matrix)); |
|
|
|
if (changed) memcpy(matrix + thatHand, slave_matrix, sizeof(slave_matrix)); |
|
|
|
|
|
|
|
|
|
|
|
matrix_scan_quantum(); |
|
|
|
matrix_scan_kb(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
transport_slave(matrix + thatHand, matrix + thisHand); |
|
|
|
transport_slave(matrix + thatHand, matrix + thisHand); |
|
|
|
|
|
|
|
|
|
|
@ -162,7 +162,7 @@ __attribute__((weak)) void matrix_init(void) { |
|
|
|
|
|
|
|
|
|
|
|
debounce_init(ROWS_PER_HAND); |
|
|
|
debounce_init(ROWS_PER_HAND); |
|
|
|
|
|
|
|
|
|
|
|
matrix_init_quantum(); |
|
|
|
matrix_init_kb(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
__attribute__((weak)) uint8_t matrix_scan(void) { |
|
|
|
__attribute__((weak)) uint8_t matrix_scan(void) { |
|
|
@ -172,7 +172,7 @@ __attribute__((weak)) uint8_t matrix_scan(void) { |
|
|
|
changed = debounce(raw_matrix, matrix + thisHand, ROWS_PER_HAND, changed) | matrix_post_scan(); |
|
|
|
changed = debounce(raw_matrix, matrix + thisHand, ROWS_PER_HAND, changed) | matrix_post_scan(); |
|
|
|
#else |
|
|
|
#else |
|
|
|
changed = debounce(raw_matrix, matrix, ROWS_PER_HAND, changed); |
|
|
|
changed = debounce(raw_matrix, matrix, ROWS_PER_HAND, changed); |
|
|
|
matrix_scan_quantum(); |
|
|
|
matrix_scan_kb(); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
return changed; |
|
|
|
return changed; |
|
|
|