#ios #touch #deb #zx #连点器 #按键自动化脚本

zxtouch

zxtouch ios 按键自动化脚本(连点器)

6 releases

0.0.7 Jan 21, 2024
0.0.6 Jan 11, 2024

#250 in Hardware support

22 downloads per month

MIT license

42KB
1K SLoC

zxtouch

Latest Version

ios 按键自动化(连点器)、需越狱并已经安装 zxtouch.deb

QQ群

功能

  1. 显示弹窗
  2. 显示toast
  3. 点击屏幕
  4. 文本输入
  5. 滑动屏幕
  6. 打开应用
  7. 图像匹配
  8. 睡眠
  9. 显示键盘
  10. 隐藏键盘
  11. 设置粘贴板内容
  12. 获取粘贴板内容
  13. 粘贴
  14. 运行命令

显示弹窗

use zxtouch::zx_touch::{TouchTrait, ZxTouch};
let mut touch = ZxTouch::new("192.168.3.113", 6000);//!
touch.connect().await.unwrap();
touch.show_alert_box("hello", "hi", 3).await.unwrap();

screenshot

点击屏幕

use zxtouch::zx_touch::ZxTouch;
let mut touch = ZxTouch::new("192.168.3.113", 6000);
touch.connect().await.unwrap();
touch.touch_down(200, 200, TouchFinger::Five).await.unwrap();
touch.close().await.unwrap();

文本输入

use zxtouch::zx_touch::ZxTouch;
let mut touch = ZxTouch::new("192.168.3.113", 6000);
touch.connect().await.unwrap();
touch.text("hello").await.unwrap();
touch.close().await.unwrap();

Dependencies

~1–2MB
~41K SLoC