diff --git a/src/kaleidoscope/hardware/ATMegaKeyboard.cpp b/src/kaleidoscope/hardware/ATMegaKeyboard.cpp index fe866c44..34ce075b 100644 --- a/src/kaleidoscope/hardware/ATMegaKeyboard.cpp +++ b/src/kaleidoscope/hardware/ATMegaKeyboard.cpp @@ -110,7 +110,8 @@ void __attribute__((optimize(3))) ATMegaKeyboard::actOnMatrixScan() { uint8_t keyState = (bitRead(KeyboardHardware.previousKeyState_[row], col) << 0) | (bitRead(KeyboardHardware.keyState_[row], col) << 1); if (keyState) { - handleKeyswitchEvent(Key_NoKey, KeyAddr(row, col), keyState); + //handleKeyswitchEvent(Key_NoKey, KeyAddr(row, col), keyState); + handleKeyswitchEvent(Key_NoKey, row, col, keyState); } } KeyboardHardware.previousKeyState_[row] = KeyboardHardware.keyState_[row];