tlora-pager wake on button, and kb backlight toggling (#8090)

This commit is contained in:
Jonathan Bennett
2025-09-22 21:06:23 -05:00
committed by GitHub
parent e1485b530f
commit 07b58a82d5
10 changed files with 60 additions and 21 deletions

View File

@@ -333,6 +333,7 @@ int32_t KbI2cBase::runOnce()
}
TCAKeyboard.trigger();
}
TCAKeyboard.clearInt();
break;
}
case 0x02: {
@@ -519,4 +520,11 @@ int32_t KbI2cBase::runOnce()
LOG_WARN("Unknown kb_model 0x%02x", kb_model);
}
return 300;
}
}
void KbI2cBase::toggleBacklight(bool on)
{
#if defined(T_LORA_PAGER)
TCAKeyboard.setBacklight(on);
#endif
}