Skip to content
项目

关于

用于 iOS 的触摸模拟库

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

SimulateTouch

Simulate touch library for iOS

You can make fake touch(even multi-touch) and swipe.

Support iOS6 and 7

REQUIREMENT: RocketBootstrap by Ryan Petrich (https://github.com/rpetrich/rocketbootstrap)

API Info: http://api.iolate.kr/simulatetouch/

and refer to main.mm (stouch; command line tool) for how to use.

How it works

There are two components in this project:

SimulateTouch.dylib MobileSubstrate

This hooks into com.apple.backboardd and exposes a Mach messaging port defined as MACH_PORT_NAME, current code value is kr.iolate.simulatetouch. It listens for Mach messages and uses IOHIDEvents to simulate touches/swipes/buttons.

stouch command line tool

Interprets command line requests into Mach messages and sends it to MACH_PORT_NAME Mach port.

Dependencies

Theos

Follow instructions to setup Theos here.

rocketboostrap

  • Install the rocketbootstrap on the device and copy rocketbootstrap.h and ``rocketbootstrap_dynamic.hfrom/usr/include/to your$THEOS/usr/include/`.
  • Copy /usr/lib/librocketbootstrap.dylib from device to your $THEOS/usr/include.

bootstrap.h

Get it from rpetrich's RocketBoostrap repo.

simulatetouch

  • Install simulatetouch on the device and copy /usr/lib/libsimulatetouch.dylib from device to your $THEOS/usr/lib.

探索相关项目

加载中…