fix: tap_xy, swipe handler

This commit is contained in:
lilong.129
2025-05-21 22:51:51 +08:00
parent bb592548b4
commit 269fe2de23
3 changed files with 19 additions and 17 deletions

View File

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