Signed-off-by: Jesse Vincent <jesse@keyboard.io>
pull/688/head
Jesse Vincent 5 years ago
parent 8d9ff15937
commit 56c1fa9cca
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -110,7 +110,7 @@ void __attribute__((optimize(3))) ATMegaKeyboard::actOnMatrixScan() {
uint8_t keyState = (bitRead(KeyboardHardware.previousKeyState_[row], col) << 0) | uint8_t keyState = (bitRead(KeyboardHardware.previousKeyState_[row], col) << 0) |
(bitRead(KeyboardHardware.keyState_[row], col) << 1); (bitRead(KeyboardHardware.keyState_[row], col) << 1);
if (keyState) { if (keyState) {
handleKeyswitchEvent(Key_NoKey, ::KeyAddr(row, col), keyState); handleKeyswitchEvent(Key_NoKey, ::KeyAddr(row, col), keyState);
} }
} }
KeyboardHardware.previousKeyState_[row] = KeyboardHardware.keyState_[row]; KeyboardHardware.previousKeyState_[row] = KeyboardHardware.keyState_[row];

Loading…
Cancel
Save