You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Third party touch display and esp32_p4_function_ev_board
Is your feature request related to a problem?
I encounter in my daily development process, sometimes touch display screen touch resolution and display resolution is different; For example:
I currently have a 7 "screen with 1024600 resolution, but a touch (e.g. GT911) resolution of 800480
At this time, if I use bsp such as esp32_p4_function_ev_board to drive it, then the touch is defined in the program is 1024*600, which is beyond the resolution size of the touch firmware. At this time, a point exception will appear, resulting in a touch exception.
(You can find the definitions here:
If I change the touch resolution defined in the bsp mentioned above to 800480, it will not map properly to 1024600 display resolution. This problem occurs in the lvgl touch function in esp_lvgl_port (you can see it here, where the lvgl v8, The same is true for the lvgl v9.
So is it possible to add a function that allows me to zoom in on the point map by passing in different resolutions?
Describe the solution you'd like
I thought it would be possible to add a function with the same name and let me pass in a different function value for the coordinate magnification function
Describe alternatives you've considered
While I extracted the components and zooming in, this worked fine, but it was a bit redundant and would take a long time for many screen and touch resolutions
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
I confirm I have checked existing list of Feature requests and Contribution Guide.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
esp_lvgl_port Component enhancements
esp_lvgl_port Component enhancements (BSP-656)
Mar 12, 2025
Related area
esp_lvgl_port esp32_p4_function_ev_board
Hardware specification
Third party touch display and esp32_p4_function_ev_board
Is your feature request related to a problem?
I encounter in my daily development process, sometimes touch display screen touch resolution and display resolution is different; For example:
I currently have a 7 "screen with 1024600 resolution, but a touch (e.g. GT911) resolution of 800480
At this time, if I use bsp such as esp32_p4_function_ev_board to drive it, then the touch is defined in the program is 1024*600, which is beyond the resolution size of the touch firmware. At this time, a point exception will appear, resulting in a touch exception.
(You can find the definitions here:
esp-bsp/bsp/esp32_p4_function_ev_board/esp32_p4_function_ev_board.c
Lines 661 to 691 in cade0e4
If I change the touch resolution defined in the bsp mentioned above to 800480, it will not map properly to 1024600 display resolution. This problem occurs in the lvgl touch function in esp_lvgl_port (you can see it here, where the lvgl v8, The same is true for the lvgl v9.
esp-bsp/components/esp_lvgl_port/src/lvgl8/esp_lvgl_port_touch.c
Lines 78 to 101 in cade0e4
So is it possible to add a function that allows me to zoom in on the point map by passing in different resolutions?
Describe the solution you'd like
I thought it would be possible to add a function with the same name and let me pass in a different function value for the coordinate magnification function
Describe alternatives you've considered
While I extracted the components and zooming in, this worked fine, but it was a bit redundant and would take a long time for many screen and touch resolutions
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
The text was updated successfully, but these errors were encountered: