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() {
if (bitRead(keyState, 0) != bitRead(previousKeyState, 0)) {
ThisType::handleKeyswitchEvent(
Key_NoKey,
typename Props_::KeyAddr(0, 0),
keyState
);
Key_NoKey,
typename Props_::KeyAddr(0, 0),
keyState
);
}
if (bitRead(keyState, 1) != bitRead(previousKeyState, 1)) {
ThisType::handleKeyswitchEvent(
Key_NoKey,
typename Props_::KeyAddr(0, 1),
keyState
);
Key_NoKey,
typename Props_::KeyAddr(0, 1),
keyState
);
}
}

Loading…
Cancel
Save