Merge pull request #753 from keyboardio/device/raise/actOnMatrixScan-coords-fix

device/Raise: Fix the column loop in actOnMatrixScan()
pull/759/head
Jesse Vincent 5 years ago committed by GitHub
commit 915223f41a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -297,8 +297,8 @@ void RaiseKeyScanner::readMatrix() {
void RaiseKeyScanner::actOnMatrixScan() { void RaiseKeyScanner::actOnMatrixScan() {
for (byte row = 0; row < Props_::matrix_rows; row++) { for (byte row = 0; row < Props_::matrix_rows; row++) {
for (byte col = 0; col < Props_::matrix_columns; col++) { for (byte col = 0; col < Props_::left_columns; col++) {
uint8_t keynum = (row * Props_::matrix_rows) + (col); uint8_t keynum = (row * Props_::left_columns) + col;
uint8_t keyState; uint8_t keyState;
// left // left

Loading…
Cancel
Save