Skip to main content

Python3 Android Touch Module, Base On "BobbleKeyboard/android_touch". Support Multi-Finger Tap/Swipe/Circle/Expand Action...

Project description

  ___  __    __                _           _     _   _                   _
|` _ `\\`\  /,/ __ _ _ __   __| |_ __ ___ (_) __| | | |_ ___  _   _  ___| |__
| (_) / \ \/ / / _` | '_ \ / _` | '__/ _ \| |/ _` | | __/ _ \| | | |/ __| '_ \
| ,_ /   \ ,/ | (_| | | | | (_| | | | (_) | | (_| | | || (_) | |_| | (__| | | |
|_|      /_/   \__,_|_| |_|\__,_|_|  \___/|_|\__,_|  \__\___/ \__,_|\___|_| |_|

android_touch

PyAndroidTouch

This project is the python 3 support module based on "BobbleKeyboard/android_touch".

Introduction

Support multi finger click / slide / circle / expand and other actions.

  • tap (tap, long press click, continuous click, multi finger click)
  • swipe (swipe, multi finger swipe) # currently only linear swipe
  • circle (circle, long press circle, multi finger circle, continuous circle, reverse circle)
  • expand (expand, multidirectional expand) # is equivalent to supporting shrink

How to use

As shown below.

Installation

  • Starting from version 0.0.2, the module will be uploaded to pypi. You can also install it directly using pip.
pip install PyAndroidTouch

Manual Installation

  1. Open the release page to find the latest version of the installation file.

  2. (Optional) download to this machine through browser, and then use pip to execute the following command to install.

pip install PyAndroidTouch-0.0.2-py3-none-any.whl
  • Of course, you can also directly copy the download link of the installation package and use pip for online installation. (execute the following command)
# Note: that the link here is version 0.0.2, please replace it with the latest version.
pip install https://github.com/HsOjo/PyAndroidTouch/releases/download/0.0.2/PyAndroidTouch-0.0.2-py3-none-any.whl

Example code

...

Demo

See the "pyandroidtouch/demo" directory.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyAndroidTouch-0.1.0.tar.gz (2.0 MB view hashes)

Uploaded Source

Built Distribution

PyAndroidTouch-0.1.0-py3-none-any.whl (4.1 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page