ladit / ajoystick
Simple Android joystick base on adb.
v1.2.1
2020-04-03 01:23 UTC
Requires
- ext-dom: *
- ext-gd: *
This package is auto-updated.
Last update: 2025-05-29 01:08:00 UTC
README
Simple Android joystick base on adb for PHP, including some Genyshell operations.
require ext-dom and ext-gd.
example
<?php use Ajoystick\Device; $element = Device::singleton()->waitUntil(function () { $element = Device::singleton()->findElementById('element-id'); if ($element) return [true, $element]; return [false, null]; }); $element->tap(); Device::singleton()->swipeUp(); Device::singleton()->screenshotAndSaveTo('.');