Libinput Picking up Record & Replay Abilities For Input
Currently FreeDesktop.org's evemu command is capable of recording and replaying input events through the kernel's input subsystem. But with evemu being less than perfect, Peter has been working on new libinput-record and libinput-replay commands for handling input recording and playback.
Evemu is being replaced since its current API is difficult, the new libinput approach is relying upon a JSON-based data format that can be more easily extended, and will be easier to adopt/deploy with it being shipped as part of libinput. This new implementation is also able to record and replay multiple input devices simultaneously as another benefit over evemu.
More details can be found via this patch series.