feat: sequence window, finer timeline, zone brightness to Wi-Fi drivers

- A sequence's length is a fixed window (window_beats / window_seconds), not its presets.
  The timeline is exactly the window long; clips past it are cut on save.
- The ruler adds finer ticks when zoomed in; Snap has Auto (follows the zoom), 0.25 s and 0.05 s.
  Steps and the window go down to 50 ms.
- Ctrl+wheel zooms around the pointer; the zoom buttons zoom around the last pointer position.
- Sequence start and the zone brightness slider reach Wi-Fi drivers (matched by hostname or MAC).
- A preset select with brightness also sends the brightness to Wi-Fi drivers, as ESP-NOW does.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Haiku 5.5 committed 2026-11-16 21:22:17 +13:00
1 parent 581b751904
commit a1c8ce853b
21 files changed
+419 -318

No files matched your search

+2
View File
@@ -22,6 +22,8 @@ cJSON *engine_preset_payload(const char *preset_id);
// Drivers in group gid (a group id, "z<zone>" or a driver's own "d<mac>"), as 12-hex MACs from the
// device list. Call with the store locked.
int engine_group_macs(const char *gid, char out[][13], int max);
// Wi-Fi drivers (listed by hostname) in the zone's groups. Call with the store locked.
int engine_zone_wifi_ids(const char *zone_id, char out[][GROUP_ID_MAX], int max);
// The preset a zone last played (engine_play / engine_stop), or NULL. Call with the store locked.
const char *engine_zone_current(const char *zone_id);
// Record preset_id as what zone_id plays, when the UI has sent it to the drivers itself