Skip to content

Added screen locking mechanism to prevent accidental presses#2224

Open
Firokat wants to merge 1 commit intomeshcore-dev:devfrom
Firokat:feat/screen-lock
Open

Added screen locking mechanism to prevent accidental presses#2224
Firokat wants to merge 1 commit intomeshcore-dev:devfrom
Firokat:feat/screen-lock

Conversation

@Firokat
Copy link
Copy Markdown

@Firokat Firokat commented Apr 1, 2026

As a daily user of the Seed Studio Wio Tracker L1 Pro, I often find myself pressing buttons with the device in my pocket, disabling Bluetooth, sending adverts.

To prevent accidental button presses, I have implemented a screen locking mechanism.

Entering and exiting the screen lock is done by long pressing the device button (call to UITask::handleLongPress).

Warning : This feature may conflict with the Rescue CLI feature, as it uses the same button press handler. I have chosen not to break the current behavior of the UI. So, screen locking cannot be activated during the first 8 seconds after booting the device, long pressing during this period.

This has been tested only on the Wio Tracker L1 Pro, which is the only board I own.

@Firokat Firokat changed the title Added screen locking mechanism by long pressing Added screen locking mechanism to prevent accidental presses Apr 1, 2026
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.

1 participant