Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/1086/head
Gergely Nagy 3 years ago committed by Jesse Vincent
parent 3149a781ae
commit ce9f14cf71
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -65,17 +65,17 @@ void KeyScanner::readMatrix() {
void KeyScanner::actOnMatrixScan() { void KeyScanner::actOnMatrixScan() {
if (bitRead(keyState, 0) != bitRead(previousKeyState, 0)) { if (bitRead(keyState, 0) != bitRead(previousKeyState, 0)) {
ThisType::handleKeyswitchEvent( ThisType::handleKeyswitchEvent(
Key_NoKey, Key_NoKey,
typename Props_::KeyAddr(0, 0), typename Props_::KeyAddr(0, 0),
keyState keyState
); );
} }
if (bitRead(keyState, 1) != bitRead(previousKeyState, 1)) { if (bitRead(keyState, 1) != bitRead(previousKeyState, 1)) {
ThisType::handleKeyswitchEvent( ThisType::handleKeyswitchEvent(
Key_NoKey, Key_NoKey,
typename Props_::KeyAddr(0, 1), typename Props_::KeyAddr(0, 1),
keyState keyState
); );
} }
} }

Loading…
Cancel
Save