espressif / esp-bsp

Board support components for Espressif development boards
Other
202 stars 102 forks source link

esp_lcd_touch: Add a track_id for esp_lcd_touch_get_coordinates (BSP-526) #358

Open lijunru-hub opened 3 months ago

lijunru-hub commented 3 months ago

Related area

esp_lcd_touch

Hardware specification

ALL Chip

Is your feature request related to a problem?

In multi-touch systems, the track ID is a crucial piece of information. Some chips, such as the GT911, inherently support track ID information. We should ensure that the driver exposes this information.

Describe the solution you'd like

like bool esp_lcd_touch_get_coordinates(esp_lcd_touch_handle_t tp, uint16_t x, uint16_t y, uint16_t strength, uint8_t point_num, uint8_t max_point_num)

Describe alternatives you've considered

No response

Additional context

No response

I have checked existing list of Feature requests and the Contribution Guide

lijunru-hub commented 3 months ago

cc@espzav

lijunru-hub commented 3 months ago

In GT911's datasheet, it can be supported easily. image

lijunru-hub commented 3 months ago

FT5x06 image

tore-espressif commented 3 months ago

@lijunru-hub sounds like a nice feature. We can discuss during next BSP meeting :) cc @espzav