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 5de0c71a3e
commit a4efa30799
12 changed files with 155 additions and 4 deletions

View File

@@ -486,6 +486,9 @@ void setup()
// assign an arbitrary value to distinguish from other models
kb_model = 0x11;
break;
case ScanI2C::DeviceType::PCF8574A:
kb_model = 0x12;
break;
default:
// use this as default since it's also just zero
LOG_WARN("kb_info.type is unknown(0x%02x), setting kb_model=0x00\n", kb_info.type);