Files
swiftcontrol/lib/utils/keymap
Jonas Acker c14c8d046d Zone mode engine: hold a limit in ERG, hand back to SIM
- ZoneModeEngine: once a second, 3 s power vs the range; outside it for
  the trigger time it holds the limit in sticky ERG (ramping up to a
  floor, straight to a ceiling) for the hold time, then hands back to the
  mode the rider came from (bump prop: exitErgMode can resume virtual
  shifting) and waits out 30 s. Pauses under 20 rpm, sleeps during ERG it
  did not set, yields to a rider who moves its target.
- Feedback: zone in/out chimes (own sound switch), phone buzz, toast, and
  a system notification while BikeControl is in the background
- "Trainer: Zone mode" button: back to SIM while holding, else on/off;
  shifts move the gear and SIM/ERG hands back while it holds; Power Lock's
  alert stays quiet for Zone mode's hold
- iOS Live Activity and PiP: ZONE pill with arrow, countdown, Back to SIM
- Controller loads its settings lazily

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 19:17:02 +01:00
..
2026-11-27 10:38:58 +01:00