Skip to content

Virtual controls widget (LVGL Lua dev contest) #33

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

wimalopaan
Copy link

@wimalopaan wimalopaan commented Apr 1, 2025

This PR is a submission to the lvgl LUA script dev contest.

It shows the use of most of the new lvgl UI controls available with EdgeTx 2.11.

What is the purpose of this widget?

This widget mainly manipulates the virtual controls as described in this PR EdgeTX/edgetx#5885.
Virtual controls (virtual inputs and virtual switches) are non-physical inputs/switches for the radio. The main purpose is to extend the number of controls by use of virtual controls.

This widget can manipulate these virtual controls by means of up to 16 sliders and/or 64 buttons (normal, momentary or toggle).

If no virtual controls are available (firmware / simulator without that PR), it is still useful as it can also manipulate the shm variables: these variables serve as a data exchange between widgets and mixer-scripts.

The main telemetry screen in EdgeTx: this widget is in the upper right.
tele01

The main screen of the widget to control the virtual inputs and the virtual switches:

controls01
controls02

The settings screen for sliders and buttons:

settings01
settings02
settings03
settings10

The global settings screen:

global01

With PR 5885 this integrates well into EdgeTx:

mixer01
mixer02

@wimalopaan wimalopaan changed the title Dev Contest lvgl LUA script submission Dev Contest lvgl LUA submission: virtual controls widget Apr 1, 2025
@rotorman rotorman added the dev contest developer contest entry label Apr 1, 2025
@rotorman rotorman changed the title Dev Contest lvgl LUA submission: virtual controls widget Virtual controls widget (LVGL Lua dev contest) Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev contest developer contest entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants