esp-bsp icon indicating copy to clipboard operation
esp-bsp copied to clipboard

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

Open lijunru-hub opened this issue 1 year ago • 4 comments

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

  • [X] I confirm I have checked existing list of Feature requests and Contribution Guide.

lijunru-hub avatar Aug 05 '24 09:08 lijunru-hub

cc@espzav

lijunru-hub avatar Aug 05 '24 09:08 lijunru-hub

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

lijunru-hub avatar Aug 05 '24 09:08 lijunru-hub

FT5x06 image

lijunru-hub avatar Aug 13 '24 12:08 lijunru-hub

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

tore-espressif avatar Aug 13 '24 12:08 tore-espressif