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.
There are two components in this project:
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.
Interprets command line requests into Mach messages and sends it to MACH_PORT_NAME
Mach port.
Follow instructions to setup Theos here.
- Install the
rocketbootstrap
on the device and copyrocketbootstrap.h
and ``rocketbootstrap_dynamic.hfrom
/usr/include/` to your `$THEOS/usr/include/`. - Copy
/usr/lib/librocketbootstrap.dylib
from device to your$THEOS/usr/include
.
Get it from rpetrich's RocketBoostrap repo.
- Install
simulatetouch
on the device and copy/usr/lib/libsimulatetouch.dylib
from device to your$THEOS/usr/lib
.