Input: Issue with multiple inputs are enabled #90779
Labels
area: LVGL
Light and Versatile Graphics Library Support
bug
The issue is a bug, or the PR is fixing a bug
platform: ESP32
Espressif ESP32
priority: low
Low impact/importance bug
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Problem:
Observation 1:
When using multiple input devices a.) a touch controller - LVGL Pointer and b.) an encoder - LVGL Encoder are enabled with LVGL on ESP32-S3-DevKitC-1, device is not booting up or gets stuck on the boot-up.
Observation 2:
When only one of the inputs is enabled at a time, either only LVGL Pointer or LVGL Encoder is enabled, the device works as expected.
Observation 3:
When Input Touch Controller's Interrupt configuration (for example
CONFIG_INPUT_CST816S_INTERRUPT=y
,CONFIG_INPUT_FT5336_INTERRUPT=y
) is enabled.On input to Touch Panel, an interrupt should be generated. But it is not generating and hence, the work is not getting submitted to process the event.
Observation 4:
When only LVGL Pointer is enabled and Interrupt Configuration is disabled (for example
CONFIG_INPUT_CST816S_INTERRUPT=n
,CONFIG_INPUT_FT5336_INTERRUPT=n
), then with the changes and configuration mentioned below, the Keypad and Encoder Demo works as expected.Steps to reproduce
Necessary changes added:
Updated
modules/lib/gui/lvgl/demos/keypad_encoder/lv_demo_keypad_encoder.c
to accept Touch Inputs by addingLV_INDEV_TYPE_POINTER
to group.Selected
LV_Z_DEMO_KEYPAD_AND_ENCODER
as default values forLV_Z_DEMO
choice insamples/modules/lvgl/demos/Kconfig
.Added/Updated board specific overlay file:
Following is the
prj.conf
:Build and Flash sample application.
Impact
Major – Severely degrades functionality; workaround is difficult or unavailable.
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: