From 4656bd0093ae9c6f007095e309f679c929bbfe85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E5=9F=BA=E7=B1=B3=E4=B8=9C?= <870179822@qq.com> Date: Thu, 3 Feb 2022 00:20:09 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[device][touch]=20fix=20=E6=8C=87=E9=92=88?= =?UTF-8?q?=E6=88=90=E5=91=98=E6=93=8D=E4=BD=9C=E7=AC=A6=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../programming-manual/device/touch/touch.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rt-thread-version/rt-thread-standard/programming-manual/device/touch/touch.md b/rt-thread-version/rt-thread-standard/programming-manual/device/touch/touch.md index d154693..7ac3783 100644 --- a/rt-thread-version/rt-thread-standard/programming-manual/device/touch/touch.md +++ b/rt-thread-version/rt-thread-standard/programming-manual/device/touch/touch.md @@ -259,7 +259,8 @@ read_data = (struct rt_touch_data *)rt_malloc(sizeof(struct rt_touch_data)); if (rt_device_read(touch_dev, 0, read_data, 1) == 1) { - rt_kprintf("%d %d %d %d %d\n", read_data.track_id, read_data.x_coordinate, read_data.y_coordinate, read_data.timestamp, read_data.width); + rt_kprintf("%d %d %d %d %d\n", read_data->track_id, read_data->x_coordinate, + read_data->y_coordinate, read_data->timestamp, read_data->width); } ``` -- Gitee From 373359861b5f6ba17a0dfe9f21e4e34f489f9f7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E5=9F=BA=E7=B1=B3=E4=B8=9C?= <870179822@qq.com> Date: Thu, 3 Feb 2022 19:16:58 +0800 Subject: [PATCH 2/2] =?UTF-8?q?[device][touch]=20update=20=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E7=9A=84=20Touch=20=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../programming-manual/device/touch/touch_list.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/rt-thread-version/rt-thread-standard/programming-manual/device/touch/touch_list.md b/rt-thread-version/rt-thread-standard/programming-manual/device/touch/touch_list.md index 258a460..5e7afae 100644 --- a/rt-thread-version/rt-thread-standard/programming-manual/device/touch/touch_list.md +++ b/rt-thread-version/rt-thread-standard/programming-manual/device/touch/touch_list.md @@ -5,4 +5,12 @@ | 厂商 | 传感器 | 备注 | | -------------- | ------------------------------------------------------------ | ------------------------ | | **GT** | | | -| | **[gt9147](https://github.com/RT-Thread-packages/gt9147)** | 支持 5 点触控 +| | [GT9147](https://github.com/RT-Thread-packages/gt9147) | 支持 5 点触控| +| | [GT1151](https://github.com/Jackistang/GT1151) | | +| | [GT917S](https://github.com/lilisheng411527/gt917s) | | +| | [GT911](https://github.com/RiceChen/gt911) | 支持 5 点触控 | +| **FocalTech** | | | +| | [FT6206](https://github.com/RT-Thread-packages/ft6206) | FT6206 最大只支持两个触摸点,该软件包目前仅提供一个触点 | +| | [FT5426](https://github.com/liuduanfei/ft5426) | FT5426 最大支持十个触摸点,该软件包目前仅提供一个触点 | +| | [FT6236](https://github.com/liuduanfei/ft6236) | 该软件包目前仅提供一个触点 | + -- Gitee