-
Notifications
You must be signed in to change notification settings - Fork 8.3k
modules: lvgl: Create input pointer automatically from chosen touch #99585
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
faxe1008
wants to merge
4
commits into
zephyrproject-rtos:main
Choose a base branch
from
faxe1008:lechosenpointertm
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+160
−295
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd56eea to
36a9187
Compare
JarmouniA
reviewed
Nov 22, 2025
36a9187 to
5d3f958
Compare
faxe1008
commented
Nov 23, 2025
faxe1008
commented
Nov 23, 2025
JarmouniA
previously approved these changes
Nov 23, 2025
Adds a Kconfig option LV_Z_POINTER_FROM_CHOSEN_TOUCH which automatically creates a lvgl input pointer device from the chosen zephyr,touch node. Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
With the new LV_Z_POINTER_FROM_CHOSEN_TOUCH most boards do not need to specify a dedicated pseudo device anymore. Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
After removing the `zephyr,lvgl-pointer-input` device the init level entries have shifted by one entry. Update them accordingly. Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
Add explanation of the `CONFIG_LV_Z_POINTER_FROM_CHOSEN_TOUCH` interaction with the `zephyr,touch` chosen node. Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
b26072d to
3314cbd
Compare
|
JarmouniA
approved these changes
Nov 28, 2025
Contributor
Author
|
Mmh maybe need to rebase after |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Having the need to add a pseudo input device for LVGL in every board that has a touch controller onboard is unfortunate.
Instead create a pointer input device for boards where the
zephyr,touchnode is present. Move any modifications to the pointer withinvert-x,yetc. into the touch controller itsself, so other non LVGL samples also benefit from the corrected coordinate reporting behaviour.