feat: add uixt tool swipe

This commit is contained in:
lilong.129
2025-05-21 17:35:30 +08:00
parent 7724cf0062
commit 60e608f101
3 changed files with 46 additions and 10 deletions

View File

@@ -15,6 +15,10 @@ type DragRequest struct {
PressDuration float64 `json:"press_duration" desc:"Press duration in milliseconds (optional)"`
}
type SwipeRequest struct {
Direction string `json:"direction" binding:"required" desc:"The direction of the swipe. Supported directions: up, down, left, right"`
}
type AppClearRequest struct {
PackageName string `json:"packageName" binding:"required"`
}