abcz1114 / TouchSimulation

Touch Simulation in Golang - Simulate Touch Points using UInput

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Touch Simulation

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

Progress

  • Implemented in pure Golang(Without C bindings).
  • 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

  • Clone this repo.
  • Install Android NDK and Go Binaries, if not already.
  • Open bash in project folder and Execute build.sh script.
  • Output will generate in same folder.

Sources

Credits

Technlogy Communication

Email: patel.kuldip91@gmail.com

About

Touch Simulation in Golang - Simulate Touch Points using UInput


Languages

Language:Go 99.2%Language:Shell 0.8%