refactor(AGENTS.md): update docs for simplified build commands and board config

This commit is contained in:
2026-02-22 03:19:05 -08:00
parent 72636f9ecf
commit 4030048401
5 changed files with 230 additions and 409 deletions

View File

@@ -166,7 +166,7 @@ public:
_drv->transformTouch(&dx, &dy);
_drv->transformTouch(&cx, &cy);
int headerH = 30;
int headerH = _headerHeight;
int cellW = _drv->width() / _gridCols;
int cellH = (_drv->height() - headerH) / _gridRows;
@@ -184,6 +184,8 @@ public:
/// Handle dashboard touch - returns action for tapped tile, or NONE
TileAction handleDashboardTouch(int x, int y) const {
HitResult hr = hitTest(x, y);
Serial.printf("[HIT] x=%d y=%d type=%d idx=%d _headerHeight=%d\n", x, y, (int)hr.type,
hr.index, _headerHeight);
if(hr.type == UIElementType::TILE && hr.index >= 0 && hr.index < DASHBOARD_TILE_COUNT) {
return DASHBOARD_TILES[hr.index].action;
}