Add night mode: hold-to-blackout with progressive dimming#1165
Open
datboip wants to merge 2 commits intojustcallmekoko:masterfrom
Open
Add night mode: hold-to-blackout with progressive dimming#1165datboip wants to merge 2 commits intojustcallmekoko:masterfrom
datboip wants to merge 2 commits intojustcallmekoko:masterfrom
Conversation
|
Secondary bonus of doubling the battery life. |
Add 3 sub-10% brightness levels (1%, 3%, 6%) for night/stealth use. Add full-width BLACKOUT button in brightness menu to turn screen off. Tap to wake from blackout at minimum brightness. Addresses justcallmekoko#1091. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…hold-to-blackout - Entry: hold top/bottom zone 2.5s with progressive screen dimming effect - Brightness mode: tap top half = brighter, bottom half = dimmer (50/50 split) - Blackout: hold anywhere 3s with darkening countdown → screen off - Wake from blackout restores last saved brightness (not 1%) - Remove blackout button and middle-zone save (auto-saves after 4s idle) - Improve hint text visibility (light grey + red for blackout) - No zone conflicts between dimmer and blackout Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3bb344a to
927d7b0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Redesigned brightness and blackout UX for touchscreen boards. Replaces the old blackout button (which overlapped the dimmer zone) with a gesture-based system using progressive screen dimming as visual feedback.
Changes
Files Changed
MenuFunctions.cpp— brightness mode UX, entry gesture, blackout logic, wake-from-blackout restoreRemoved
Test plan
brightness -s 0via CLI → sets to 1% (ultra-low)🤖 Generated with Claude Code