Record input events on Linux and replay (inject) them later. Timing between events is maintained. Useful for emulating user input.
For Android:
make CROSS_COMPILE=/path/to/android/toolchain/arm-linux-androideabi-
make install_android
To run on your host:
make
Usage:
record [<eventfile>]
Records input events and dumps them to eventfile
, which defaults to
/sdcard/events
.
Usage:
replay [<eventfile>]
Replay events from eventfile
(default /sdcard/events
).
Originally written by Nicholas FitzRoy-Dale [email protected]. Maintained by Aaron Carroll [email protected].