Skip to content

feat(v2): input lock via L+R long-press (rebase)#89

Merged
kawinie merged 1 commit into
mainfrom
feat/v2-input-lock-v2
May 14, 2026
Merged

feat(v2): input lock via L+R long-press (rebase)#89
kawinie merged 1 commit into
mainfrom
feat/v2-input-lock-v2

Conversation

@kawinie
Copy link
Copy Markdown
Collaborator

@kawinie kawinie commented May 14, 2026

Summary

Holding L+R for the long-press threshold toggles an input lock on NormalStage and EnergyStage. While locked, button and encoder events are dropped except the L+R combo itself, so the same gesture clears the lock. A padlock glyph renders in the top-right corner of both screens.

Linked issues

Closes #36

Hardware tested

  • HW1_3

How tested: pio test -e native (129 cases pass, including lock coverage in test_v2_normal and test_v2_energy). pio run -e HW1_3_V2 builds clean.

Screenshot 2026-05-13 at 2 46 59 AM

Breaking change / migration

  • User-visible behavior (UI, button mapping, menu)

Details: L+R long-press now toggles a screen lock instead of being unbound. Padlock glyph added to the top-right of Normal and Energy views.

Notes

Stacked on top of #87 . Rebase after that merges.

Holding L+R for the long-press threshold toggles a lock on NormalStage
and EnergyStage. While locked, button and encoder events drop except
the L+R combo itself, so the same gesture clears the lock. A padlock
glyph renders in the top-right corner.
@kawinie kawinie requested review from centydev and removed request for centydev May 14, 2026 02:35
@kawinie kawinie marked this pull request as ready for review May 14, 2026 02:36
@kawinie kawinie merged commit 33e6c88 into main May 14, 2026
1 check passed
@kawinie
Copy link
Copy Markdown
Collaborator Author

kawinie commented May 14, 2026

Approved in #88

@kawinie kawinie deleted the feat/v2-input-lock-v2 branch May 18, 2026 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lock Screen Mode?

1 participant