From 701fd71d53b1a29a1f256ab635ef79e4c23fddee Mon Sep 17 00:00:00 2001 From: Nebulafalls <53670448+Nebulafalls@users.noreply.github.com> Date: Thu, 26 Oct 2023 22:50:10 +0800 Subject: [PATCH] =?UTF-8?q?feat(fiil+):=20=E8=87=AA=E5=8A=A8=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E8=80=B3=E6=9C=BA=20(#1393)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 添加自动连接耳机按钮 * chore(actions): check_format_lint * feat(fiil+): 默认关闭 * feat(fiil+): 增加说明 --------- Co-authored-by: github-actions[bot] Co-authored-by: lisonge --- src/apps/com.fengeek.f002.ts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/apps/com.fengeek.f002.ts b/src/apps/com.fengeek.f002.ts index e4e8c3d1..175735c0 100644 --- a/src/apps/com.fengeek.f002.ts +++ b/src/apps/com.fengeek.f002.ts @@ -15,5 +15,32 @@ export default defineAppConfig({ }, ], }, + { + enable: false, + key: 2, + name: '自动连接耳机', + desc: '点击连接耳机按钮,点击扫描到的第一个设备', + activityIds: ['com.fengeek.f002.MainActivity'], + rules: [ + { + key: 0, + name: '点击连接耳机按钮', + quickFind: true, + action: 'clickCenter', + matches: '[clickable=true][id="com.fengeek.f002:id/av_elc"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/13161277', + }, + { + preKeys: [0], + key: 1, + name: '点击扫描到的设备', + quickFind: true, + action: 'clickNode', + matches: + '[clickable=true][id="com.fengeek.f002:id/device_container"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/13161365', + }, + ], + }, ], });