Commit Graph

29 Commits

Author SHA1 Message Date
dd1c13fbbc refactor: replace hint feedback with debug crosshair 2026-02-19 15:12:02 -08:00
ec8ec4cd18 refactor(Style): Add font abstraction and CSS-like styling constants 2026-02-19 14:48:25 -08:00
59b2bf01b7 feat(docs): update LSP setup instructions for compile_commands.json 2026-02-19 13:22:19 -08:00
3dc66a536e feat(docs): update README and AGENTS.md with RTK instructions 2026-02-19 13:01:55 -08:00
e4609c6978 refactor(Format code): Improve readability and structure 2026-02-18 17:57:54 -08:00
34ca86d771 feat: update ESP32 board version and add LSP configs 2026-02-18 16:07:52 -08:00
1961631e2c refactor(display): extract tile layout logic to library helper class 2026-02-18 11:43:46 -08:00
3b8e54c511 refactor(doorbell-touch): add build harness with monitor agent and board-specific setup 2026-02-18 03:28:38 -08:00
4ea7165148 refactor(doorbell-touch): extract lockfile logic to shared script 2026-02-18 02:18:50 -08:00
2831ecf43c feat(doorbell-touch): add lockfile to prevent concurrent monitor sessions 2026-02-18 02:05:27 -08:00
5ce02a6eff refactor(doorbell-touch): extract board configs and improve logging 2026-02-18 02:02:35 -08:00
ea8aab0a68 fix(doorbell-touch): kill screen session before upload 2026-02-18 01:14:06 -08:00
4c0991b8bd feat(doorbell): add inactivity timeout to turn off screen 2026-02-18 01:12:36 -08:00
bfba3b02fd feat(doorbell): add staged boot sequence and refactor main loop 2026-02-18 00:35:48 -08:00
46289b9d40 refactor(touch): centralize touch handling in DoorbellLogic 2026-02-17 23:35:59 -08:00
17c44d9b08 fix(doorbell-touch): add touch debug logging and missing TFT_MISO pin 2026-02-17 22:51:32 -08:00
cbe7efe883 feat(boards): add ESP32-32E-4 (4" ST7796) board support 2026-02-17 22:07:51 -08:00
d961afd950 fix: Remove vendor directory on clean 2026-02-17 19:43:09 -08:00
c4adb38576 feat(display): add active state parameter to hint animation
1. **Added `active` parameter to hint animation**
   - `updateHint()` now accepts a boolean `active` parameter across both display drivers (TFT and GFX)
   - When `active=true`: faster pulse animation (500ms period) during active hold
   - When `active=false`: slower pulse animation (2000ms period) during idle state

2. **Improved animation calculations**
   - Replaced modulo operator with `fmodf()` for cleaner float calculations
   - Standardized to `static_cast<uint8_t>()` for type conversions
   - Fixed GFX driver to use `color565()` method instead of manual bit shifting

3. **Updated hint display logic**
   - Now differentiates between "holding" state (fast pulse) and "idle" state (slow pulse)
   - Hint draws at both states when `holdStartX >= 0` (touch position captured)

4. **Added code formatter task**
   - New `mise.toml` task for running clang-format across all source files

- Users get **visual feedback differentiation**: fast pulsing during active hold vs. slow pulsing when idle
- More intuitive UI that clearly indicates whether a long-press is in progress or just waiting
- Cleaner, more maintainable code with standardized calculations and type conversions
2026-02-17 05:11:02 -08:00
2907dac33d refactor(esp32-s3-lcd-43): remove IO expander and use LovyanGFX backlight 2026-02-17 02:13:30 -08:00
246bfe0cb9 fix(doorbell-touch): correct LovyanGFX library integration and build 2026-02-17 01:13:28 -08:00
de45f89f9b refactor(doorbell-touch): simplify LovyanGFX library setup 2026-02-17 01:00:57 -08:00
66b4e75174 refactor(display): split render into screen-specific draw methods 2026-02-17 00:06:30 -08:00
9f0e603215 chore(examples): add submodule and remove LVGL examples 2026-02-16 23:09:37 -08:00
89f3248747 refactor(doorbell): migrate ESP32-S3 to ESP_IOExpander library 2026-02-16 20:51:56 -08:00
c7ea8d5817 chore(mise): update PSRAM config and commit task command 2026-02-16 19:15:48 -08:00
838afaa36f consolidate sketches 2026-02-16 19:08:47 -08:00
75c3f5706b snapshot 2026-02-16 19:05:13 -08:00
6b2921aa30 snapshot 2026-02-16 19:05:12 -08:00