Crates.io | zxtouch |
lib.rs | zxtouch |
version | 0.0.7 |
source | src |
created_at | 2024-01-07 16:48:07.433419 |
updated_at | 2024-01-21 13:46:41.939082 |
description | zxtouch ios 按键自动化脚本(连点器) |
homepage | |
repository | https://github.com/dounine/zxtouch |
max_upload_size | |
id | 1091871 |
size | 53,443 |
ios 按键自动化(连点器)、需越狱并已经安装 zxtouch.deb
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();
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();