Commit Graph

17 Commits

Author SHA1 Message Date
LmeSzinc
0fb6a96691 Refactor: Make MaaTouch inputs synchronous 2024-04-30 17:42:52 +08:00
LmeSzinc
670541f515 Dep: [ALAS] Upgrade to MaaTouch 1.1.0 2024-04-21 23:35:43 +08:00
Torther
e88697a341 Fixed an issue that could not be used on Android10 and Android11. 2023-09-30 22:59:30 +08:00
Torther
69df0c26e4
Upd: Screenshot method DroidCast_raw update (#2881)
* Upd: Screenshot method DroidCast_raw update

* Opt: Refactor module/device/method/droidcast.py for improved functionality

The module/device/method/droidcast.py has been refactored to improve its functionality and remove unnecessary code. Here are the key changes:

- Removed the unnecessary droidcast_raw_port attribute.
- Updated the droidcast_url method to use '/preview' as the default URL for DroidCast.
- Rename droidcast_init and droidcast_raw_init to droidcast_start and droidcast_raw_start.
- Add droidcast_init to reuse the common parts of droidcast_start and droidcast_raw_start.
- Removed the droidcast_raw_wait_startup method as it is no longer needed.
- Updated the droidcast_uninstall method to remove the deletion of DroidCast APK.

These changes aim to simplify the DroidCast class and improve its overall functionality.

* Opt: Refactor module/device/method/droidcast.py for improved functionality

The module/device/method/droidcast.py has been refactored to improve its functionality and remove unnecessary code. Here are the key changes:

- Removed the unnecessary droidcast_raw_port attribute.
- Updated the droidcast_url method to use '/preview' as the default URL for DroidCast.
- Rename droidcast_init and droidcast_raw_init to droidcast_start and droidcast_raw_start.
- Add droidcast_init to reuse the common parts of droidcast_start and droidcast_raw_start.
- Removed the droidcast_raw_wait_startup method as it is no longer needed.
- Updated the droidcast_uninstall method to remove the deletion of DroidCast APK.

These changes aim to simplify the DroidCast class and improve its overall functionality.

* Fix: Droidcast cannot start due to port occupation
2023-09-25 18:51:56 +08:00
LmeSzinc
36e1f01cb7 Add: Control method MaaTouch 2023-02-02 01:47:48 +08:00
LmeSzinc
965c46f800 Add: Screenshot method DroidCast_raw 2023-01-25 00:21:07 +08:00
LmeSzinc
a3604d8100 Add: Screenshot method scrcpy
Control via scrcpy is supported but not exposed because swipes ended at the middle
2022-12-29 12:49:11 +08:00
LmeSzinc
c51350caac Add: DroidCast screenshot 2022-12-04 23:53:43 +08:00
n0k0m3
23ca75d15e Rename ascreencap dist 2022-06-20 13:57:53 -04:00
n0k0m3
f41f2458c3 Add ascreencap for android 8 (oreo) and 9 (pie) 2022-06-20 11:47:15 -04:00
LmeSzinc
e95a145653 Add: Hermit, another control method
- Add: Dump hierarchy via ADB and uiautomator2
- Fix: Device screenshot saving
2022-01-27 16:57:25 +08:00
LmeSzinc
93cc5e7bd7 Add: [TW] cnocr model for tw 2021-11-14 14:58:04 +08:00
noname94
3c7fcf61fb Add: [JP] cnocr for jp added
model trained by @LmeSzinc

Co-Authored-By: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com>
2020-11-04 13:35:29 +09:00
LmeSzinc
2ba57f9548 Del: Remove files for cnocr==1.0.0 2020-07-15 04:37:49 +08:00
LmeSzinc
b55abd1178 Add: OCR models for cnocr==1.2.2 2020-07-14 23:59:48 +08:00
LmeSzinc
bbf78fc320 Opt: Move cnocr_models to bin/cnocr_models 2020-07-06 01:52:44 +08:00
LmeSzinc
2a08c8c327 Opt: Move ascreencap to bin/ascreencap
- Fix empty image after aScreenCap init
2020-07-06 01:49:03 +08:00