mirror of
https://github.com/ratspeak/ratdeck.git
synced 2026-08-06 19:09:20 +00:00
New public method that transitions to SCREEN_OFF on demand. A _justWokeFromOff flag is set in activity() and cleared at the end of loop() so a single keypress that woke the screen can't immediately re-blank it via a hotkey/long-press handler running in the same tick. Pure infrastructure — no UI binding included; consumers can wire it to whatever input event they want (long-press, hotkey, etc.).