Skip to content

Touch Simulation in Golang - Simulate Touch Points using UInput

License

Notifications You must be signed in to change notification settings

kp7742/TouchSimulation

Repository files navigation

Touch Simulation

Touch Simulation is program to simulate Touch Input in android devices using Virtual Display with UInput interface of Android(Linux) kernel.

There are 2 variants made in Golang and C++.

Features

  • Generate random data for uinput device.
  • Bridges Type-B device to Type-A device.
  • Simulate Original Touch Screen data.
  • Support 1 Touch Simulation point.
  • Test Program to check simulation.

Notes

  • Not every device support directly, Modification may need.
  • Need either root access or adb shell.

How to Build Go variant

  • Clone this repo.
  • Install Android NDK and Go Binaries, if not already.
  • Open bash in project directory and Execute build.sh script.
  • Output will be in bin directory.
  • Precompiled Binaries: HERE

How to Build C++ variant

  • Clone this repo.
  • Install Android NDK, if not already.
  • Open Shell/CMD in C++ directory.
  • Drag ndk-build from NDK in Shell or CMD and then Execute.
  • Output will be in libs directory.
  • Precompiled Binaries: HERE

Sources

Credits

Technlogy Communication

Email: patel.kuldip91@gmail.com

About

Touch Simulation in Golang - Simulate Touch Points using UInput

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages