fix: tap handler

This commit is contained in:
lilong.129
2025-03-04 20:40:10 +08:00
parent 65564b958f
commit 7539e456d7
7 changed files with 78 additions and 18 deletions

View File

@@ -7,9 +7,6 @@ type ILLMService interface {
}
func NewGPT4oLLMService() (*openaiLLMService, error) {
if err := checkEnv(); err != nil {
return nil, err
}
return &openaiLLMService{}, nil
}

View File

@@ -51,7 +51,7 @@ type IDriver interface {
Unlock() error
Back() error
// tap
TapXY(x, y float64, opts ...option.ActionOption) error // by percentage
TapXY(x, y float64, opts ...option.ActionOption) error // by percentage or absolute coordinate
TapAbsXY(x, y float64, opts ...option.ActionOption) error // by absolute coordinate
DoubleTap(x, y float64, opts ...option.ActionOption) error // by absolute coordinate
TouchAndHold(x, y float64, opts ...option.ActionOption) error