feat: add uixt tool press_button

This commit is contained in:
lilong.129
2025-05-21 17:25:17 +08:00
parent 5c68760cca
commit 7724cf0062
9 changed files with 79 additions and 6 deletions

View File

@@ -174,13 +174,15 @@ func (bs BatteryStatus) String() string {
}
}
// DeviceButton A physical button on an iOS device.
// DeviceButton A physical button on a device.
type DeviceButton string
const (
DeviceButtonHome DeviceButton = "home"
DeviceButtonVolumeUp DeviceButton = "volumeUp"
DeviceButtonVolumeDown DeviceButton = "volumeDown"
DeviceButtonEnter DeviceButton = "enter" // use "\n" for ios
DeviceButtonBack DeviceButton = "back" // android only
)
type NotificationType string