Coder Social home page Coder Social logo

maatouch's Introduction

MaaTouch

minitouch 输入协议的安卓原生实现

使用说明

参考 minitouch usage

指令一览

  • c 提交指令
  • r 重置触点指令
  • d id x y pressure 按下触点
  • m id x y pressure 移动触点
  • u id 抬起触点
  • w ms 指令执行等待(不建议使用,推荐调用方自行延迟)
  • k key d 按键按下
  • k key u 按键抬起
  • k key o 单次按键,按下抬起
  • t text 输入文本

示例

  • 在 (10, 10) 点击

    d 0 10 10 1
    u 0
    c
    
  • 滑动

    d 0 10 10 1
    w 100
    m 0 20 20 1
    w 100
    m 0 30 30 1
    w 100
    u 0
    c
    
  • 点亮屏幕

    k 224 o
    c
    
  • 删除文本框内容

    k 123 o
    k 67 d
    w 1000
    k 67 u
    c
    
  • 输入文本

    t 内容
    c
    

maatouch's People

Contributors

aa889788 avatar annangela avatar cubesky avatar misteo avatar nfh994 avatar zzyyyl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.