You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For easier usage, I wrote a python wrapper of it. pyminitouch
With this, user can easily call python API to use minitouch. Need not care about dependencies / devices / version.
Before
Check device abi
Download a specified version minitouch
Install and run it
Build a socket
Send message with socket, and your message seems like:
d 0 150 150 50\nc\nu 0\nc\n
hard to read
An unfriendly process.
After
frompyminitouchimportMNTDevice_DEVICE_ID='123456F'device=MNTDevice(_DEVICE_ID)
# single-tapdevice.tap([(400, 600)])
# multi-tapdevice.tap([(400, 400), (600, 600)])
# set the pressure, default == 100device.tap([(400, 600)], pressure=50)
# ... and something else you want, just like minitouch itself!
Like this project. 👍
For easier usage, I wrote a python wrapper of it. pyminitouch
With this, user can easily call python API to use minitouch. Need not care about dependencies / devices / version.
Before
d 0 150 150 50\nc\nu 0\nc\n
An unfriendly process.
After
You can view github page for further usage.
The text was updated successfully, but these errors were encountered: