Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LVGL+Flow] Add support for display (in)activity in LVGL widget #696

Open
fietser28 opened this issue Jan 12, 2025 · 0 comments
Open

[LVGL+Flow] Add support for display (in)activity in LVGL widget #696

fietser28 opened this issue Jan 12, 2025 · 0 comments
Assignees
Milestone

Comments

@fietser28
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
No a feature to make it easy to setup display timeouts like screensaver or go back to a main screen after some time of inactivity in flow without any native code.

Describe the solution you'd like
Add the following actions to the LVGL widget:

  • Display Get Inactivity. This should return the value from lv_display_get_inactive_time()
  • Display Trigger Activity. This should call lv_display_trigger_activity().
    AFAIK this is equal in V8 an V9.

Describe alternatives you've considered
Use simple native variable to get the inactivity timer and a simple native action to trigger activity.
OR
Implement manual timer and triggers In flow although this is not easy/nice to do.

Additional context
This came up in recent Discord question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants