mirror of
https://github.com/ratspeak/ratdeck.git
synced 2026-05-16 20:35:09 +00:00
ef5d8ea189
Two pocket-carry quality-of-life additions: 1. Long-press (1.2s) trackball click blanks the screen if no LVGL screen consumes the long-press. InputManager captures the power state at click DOWN (_clickFromScreenOn) and only emits the long-press if the screen was already on, so a long-press from SCREEN_OFF wakes without immediately re-blanking. 2. Touch events are ignored entirely while screen is off, preventing accidental wakes from pressure on the panel in a pocket/bag. Trackball click and keyboard keys still wake normally. InputManager now holds a Power* injected via setPowerMgr() in setup.