Files
sunnypilot/common
Jason Wen 3662a8e962 ui: Customizable Onroad Brightness (#1641)
* ui: Customizable Onroad Brightness

* fixes

* lint

* reset on show/hide

* reset on show/hide for mici

* only set if true

* wrong var

* try this out

* use clear

* starts cleanup

* wake for all visual alerts and handle timeouts

* fixup: wake for all visual alerts and handle timeouts

* handle always wake if there's an event properly

* some

* slightly more

* need this back

* Reapply "ui: Global Brightness Override (#1579)"

This reverts commit a0c10be1ff.

* do not touch light sensor logic

* override properly and clip to 30% minimum

* wrap

* lint

* update immediately

* read

* max global brightness

* rename

* gotta do it for mici too lol

* revert

* Revert "revert"

This reverts commit 121a082de1.

* no more

* ui

* more

* intenum

* simplify ONROAD_BRIGHTNESS_TIMER_VALUES

* no more toggle

* 15 seconds countdown for auto dark regardless

* auto dark refinement

* only consume if expired

* immediately set

* rename

* update sl metadata

* no more

---------

Co-authored-by: nayan <nayan8teen@gmail.com>
Co-authored-by: DevTekVE <devtekve@gmail.com>
2026-01-19 01:26:16 -05:00
..
2024-08-13 21:11:16 -07:00
2020-01-17 10:28:44 -08:00
2020-01-17 10:28:44 -08:00
2023-12-09 13:24:18 -08:00
2025-11-18 10:42:06 -08:00
2025-05-30 13:31:07 -07:00
2025-06-01 16:34:22 -07:00
2025-07-22 19:30:47 -07:00
2025-10-18 11:12:47 -07:00
2025-12-16 15:51:35 -08:00
2025-10-22 15:36:09 -07:00
2024-05-20 17:43:54 -07:00
2025-10-21 17:12:57 -04:00
2025-08-04 13:25:24 -07:00
2025-09-20 01:01:08 -04:00
2025-05-30 13:31:07 -07:00
2025-11-30 14:19:37 -08:00