add PCF8574(A) port expander as passive 4x4 keyboard

This commit is contained in:
Thomas Göttgens
2024-03-26 00:18:23 +01:00
parent acc32916c3
commit b5a34490be
12 changed files with 155 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ CardKbI2cImpl::CardKbI2cImpl() : KbI2cBase("cardKB") {}
void CardKbI2cImpl::init()
{
if (cardkb_found.address == 0x00) {
if ((cardkb_found.address == 0x00) || (kb_model == 0x12)) {
disable();
return;
}